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