acf656125c
* Clear the PATH in most scripts. This helps to ensure purity. svn path=/nixos/trunk/; revision=7299
17 lines
372 B
Nix
17 lines
372 B
Nix
{stdenv, substituteAll, nix}:
|
|
|
|
substituteAll {
|
|
src = ./nixos-installer.sh;
|
|
dir = "bin";
|
|
isExecutable = true;
|
|
inherit nix;
|
|
|
|
pathsFromGraph = ../helpers/paths-from-graph.sh;
|
|
|
|
nixClosure = stdenv.mkDerivation {
|
|
name = "closure";
|
|
exportReferencesGraph = ["refs" nix];
|
|
builder = builtins.toFile "builder.sh" "source $stdenv/setup; cp refs $out";
|
|
};
|
|
}
|