5c89e891df
svn path=/nixos/trunk/; revision=7156
18 lines
397 B
Nix
18 lines
397 B
Nix
{ stdenv, genericSubstituter, shell, nix
|
|
}:
|
|
|
|
genericSubstituter {
|
|
src = ./nixos-installer.sh;
|
|
dir = "bin";
|
|
isExecutable = true;
|
|
inherit shell 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";
|
|
};
|
|
}
|