2006-11-08 05:34:14 +03:00
|
|
|
{ stdenv, genericSubstituter, shell, nix
|
|
|
|
}:
|
|
|
|
|
|
|
|
genericSubstituter {
|
2006-11-28 13:45:21 +03:00
|
|
|
src = ./nixos-installer.sh;
|
2006-11-08 12:31:45 +03:00
|
|
|
dir = "bin";
|
2006-11-08 05:34:14 +03:00
|
|
|
isExecutable = true;
|
|
|
|
inherit shell nix;
|
2006-11-13 22:01:39 +03:00
|
|
|
|
2006-11-28 13:45:21 +03:00
|
|
|
pathsFromGraph = ../helpers/paths-from-graph.sh;
|
2006-11-17 17:13:21 +03:00
|
|
|
|
2006-11-08 05:34:14 +03:00
|
|
|
nixClosure = stdenv.mkDerivation {
|
|
|
|
name = "closure";
|
2006-11-13 22:01:39 +03:00
|
|
|
exportReferencesGraph = ["refs" nix];
|
2006-11-17 17:13:21 +03:00
|
|
|
builder = builtins.toFile "builder.sh" "source $stdenv/setup; cp refs $out";
|
2006-11-08 05:34:14 +03:00
|
|
|
};
|
|
|
|
}
|