2019-04-12 08:36:30 +00:00
|
|
|
# target-os = [ 'windows' 'linux' 'macos' 'darwin' 'android' 'ios' 'all' ]
|
2019-11-15 15:26:25 +00:00
|
|
|
{ config ? { },
|
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,
|
2019-07-16 20:34:04 +00:00
|
|
|
target-os ? "none" }:
|
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 = {
|
2019-07-22 03:31:47 +00:00
|
|
|
inherit (deriv) mobile leiningen watchman status-go;
|
2019-06-04 16:50:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit (deriv) shell;
|
|
|
|
}
|