mirror of
https://github.com/status-im/status-react.git
synced 2025-01-12 03:54:32 +00:00
Jakub Sokołowski
b32dd113f6
Also: - upgrade Go: 1.12 > 1.13 - upgrade Android SDK: 28.0.3 > 29.0.2 - nix: stop using system Fastlane for iOS builds - nix: include CocoaPods in shell for iOS - nix: concatenate shellHooks correctly - fix gomobile status-go build by setting GO111MODULE=off - fix gradle accepting empty STATUS_GO_SRC_OVERRIDE value - don't use a pure shell for uploadToSauceLabs() Signed-off-by: Jakub Sokołowski <jakub@status.im>
26 lines
758 B
Nix
26 lines
758 B
Nix
# This file controls the pinned version of nixpkgs we use for our Nix environment
|
|
let
|
|
inherit (import <nixpkgs> { }) fetchFromGitHub;
|
|
defaultConfig = { android_sdk.accept_license = true; };
|
|
nixpkgsSrc = {
|
|
name = "nixpkgs-source";
|
|
owner = "status-im";
|
|
repo = "nixpkgs";
|
|
rev = "d9b2c6b8add87098adb8ee34042e39d15f3658c4";
|
|
sha256 = "19wnp97nlkyd825pjd9vm9rngy3gcil9bwqncwscivsmaz5c7l37";
|
|
# To get the compressed Nix sha256, use:
|
|
# nix-prefetch-url --unpack https://github.com/${ORG}/nixpkgs/archive/${REV}.tar.gz
|
|
# The last line will be the hash.
|
|
};
|
|
|
|
in {
|
|
config ? { },
|
|
config' ? defaultConfig // config,
|
|
pkgs ? (import (fetchFromGitHub nixpkgsSrc)) { config = config'; }
|
|
}:
|
|
|
|
{
|
|
inherit pkgs;
|
|
config = config';
|
|
}
|