2019-04-12 10:36:30 +02:00
|
|
|
# target-os = [ 'windows' 'linux' 'macos' 'darwin' 'android' 'ios' 'all' ]
|
2019-07-08 09:58:53 -04:00
|
|
|
{ config ? { android_sdk.accept_license = true; },
|
2019-06-19 11:54:14 +02:00
|
|
|
nixpkgs-bootstrap ? import ./nix/nixpkgs-bootstrap.nix { inherit config; },
|
|
|
|
pkgs ? nixpkgs-bootstrap.pkgs,
|
2019-04-03 13:06:42 +02:00
|
|
|
stdenv ? pkgs.stdenv,
|
2019-07-16 16:34:04 -04:00
|
|
|
target-os ? "none" }:
|
2019-02-01 11:44:51 +01:00
|
|
|
|
2019-06-04 18:50:29 +02:00
|
|
|
let deriv = pkgs.callPackage ./nix/derivation.nix { inherit pkgs target-os; inherit (nixpkgs-bootstrap) config; };
|
|
|
|
|
|
|
|
in {
|
|
|
|
targets = {
|
2019-07-21 23:31:47 -04:00
|
|
|
inherit (deriv) mobile leiningen watchman status-go;
|
2019-06-04 18:50:29 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit (deriv) shell;
|
|
|
|
}
|