mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
08ad51690d
which is included in the system path. svn path=/nixos/trunk/; revision=7853
20 lines
469 B
Nix
20 lines
469 B
Nix
{ perl, runCommand, substituteAll, nix
|
|
, # URL of the Nixpkgs distribution that the installer will pull.
|
|
# Leave empty for a pure source distribution.
|
|
nixpkgsURL ? ""
|
|
}:
|
|
|
|
substituteAll {
|
|
name = "nixos-install";
|
|
src = ./nixos-install.sh;
|
|
dir = "bin";
|
|
isExecutable = true;
|
|
inherit nix nixpkgsURL perl;
|
|
|
|
pathsFromGraph = ../helpers/paths-from-graph.pl;
|
|
|
|
nixClosure = runCommand "closure"
|
|
{exportReferencesGraph = ["refs" nix];}
|
|
"cp refs $out";
|
|
}
|