mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
78b2ed263e
svn path=/nixu/trunk/; revision=7063
18 lines
382 B
Nix
18 lines
382 B
Nix
{ stdenv, genericSubstituter, shell, nix
|
|
}:
|
|
|
|
genericSubstituter {
|
|
src = ./installer.sh;
|
|
dir = "bin";
|
|
isExecutable = true;
|
|
inherit shell nix;
|
|
|
|
pathsFromGraph = ./paths-from-graph.sh;
|
|
|
|
nixClosure = stdenv.mkDerivation {
|
|
name = "closure";
|
|
exportReferencesGraph = ["refs" nix];
|
|
builder = builtins.toFile "builder.sh" "source $stdenv/setup; cp refs $out";
|
|
};
|
|
}
|