17 lines
476 B
Nix
17 lines
476 B
Nix
# target-os = [ 'windows' 'linux' 'macos' 'darwin' 'android' 'ios' 'all' ]
|
|
{ config ? { },
|
|
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;
|
|
}
|