49f8402876
* Stage 2 init: handle non-read-only roots. svn path=/nixu/trunk/; revision=7014
18 lines
360 B
Nix
18 lines
360 B
Nix
{ stdenv, genericSubstituter, shell, nix
|
|
}:
|
|
|
|
genericSubstituter {
|
|
src = ./installer.sh;
|
|
dir = "bin";
|
|
isExecutable = true;
|
|
inherit shell nix;
|
|
|
|
nixClosure = stdenv.mkDerivation {
|
|
name = "closure";
|
|
builder = builtins.toFile "builder.sh"
|
|
"source $stdenv/setup; nix-store -qR $nix > $out";
|
|
buildInputs = [nix];
|
|
inherit nix;
|
|
};
|
|
}
|