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;
|
2006-11-13 20:01:39 +01:00
|
|
|
|
2006-11-17 15:13:21 +01:00
|
|
|
pathsFromGraph = ./paths-from-graph.sh;
|
|
|
|
|
2006-11-08 03:34:14 +01:00
|
|
|
nixClosure = stdenv.mkDerivation {
|
|
|
|
name = "closure";
|
2006-11-13 20:01:39 +01:00
|
|
|
exportReferencesGraph = ["refs" nix];
|
2006-11-17 15:13:21 +01:00
|
|
|
builder = builtins.toFile "builder.sh" "source $stdenv/setup; cp refs $out";
|
2006-11-08 03:34:14 +01:00
|
|
|
};
|
|
|
|
}
|