2006-11-08 03:34:14 +01:00
|
|
|
{ stdenv, genericSubstituter, shell, nix
|
|
|
|
}:
|
|
|
|
|
|
|
|
genericSubstituter {
|
|
|
|
src = ./installer.sh;
|
2006-11-08 10:31:45 +01:00
|
|
|
dir = "bin";
|
2006-11-08 03:34:14 +01:00
|
|
|
isExecutable = true;
|
|
|
|
inherit shell nix;
|
|
|
|
|
|
|
|
nixClosure = stdenv.mkDerivation {
|
|
|
|
name = "closure";
|
|
|
|
builder = builtins.toFile "builder.sh"
|
|
|
|
"source $stdenv/setup; /nix/bin/nix-store -qR $nix > $out";
|
|
|
|
inherit nix;
|
|
|
|
};
|
|
|
|
}
|