mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
18 lines
285 B
Nix
18 lines
285 B
Nix
rec {
|
|
shell = "@shell@";
|
|
|
|
path = "@testPath@";
|
|
|
|
system = "@system@";
|
|
|
|
shared = "@extra1@";
|
|
|
|
mkDerivation = args:
|
|
derivation ({
|
|
inherit system;
|
|
builder = shell;
|
|
args = ["-e" args.builder];
|
|
PATH = path;
|
|
} // removeAttrs args ["builder"]);
|
|
}
|