mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
4b333e0f67
svn path=/nixu/trunk/; revision=6979
17 lines
344 B
Nix
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;
|
|
};
|
|
}
|