mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 18:46:19 +00:00
Jakub Sokołowski
b9ab37019d
Also fix scripts/update-status-go.sh to accept commit SHA1 Signed-off-by: Jakub Sokołowski <jakub@status.im>
17 lines
511 B
Nix
17 lines
511 B
Nix
# target-os = [ 'windows' 'linux' 'macos' 'darwin' 'android' 'ios' 'all' ]
|
|
{ config ? { android_sdk.accept_license = true; },
|
|
nixpkgs-bootstrap ? import ./nix/nixpkgs-bootstrap.nix { inherit config; },
|
|
pkgs ? nixpkgs-bootstrap.pkgs,
|
|
stdenv ? pkgs.stdenv,
|
|
target-os ? "none" }:
|
|
|
|
let deriv = pkgs.callPackage ./nix/derivation.nix { inherit pkgs target-os; inherit (nixpkgs-bootstrap) config; };
|
|
|
|
in {
|
|
targets = {
|
|
inherit (deriv) mobile leiningen watchman status-go;
|
|
};
|
|
|
|
inherit (deriv) shell;
|
|
}
|