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