nixpkgs/test/installer.nix
Eelco Dolstra 4b333e0f67 * Add the installer and rsync to the path.
svn path=/nixu/trunk/; revision=6979
2006-11-08 09:31:45 +00:00

17 lines
344 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/bin/nix-store -qR $nix > $out";
inherit nix;
};
}