nixpkgs/test/installer.nix

16 lines
329 B
Nix
Raw Normal View History

{ stdenv, genericSubstituter, shell, nix
}:
genericSubstituter {
src = ./installer.sh;
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;
};
}