nixpkgs/installer/nixos-installer.nix
Eelco Dolstra c063ea2bfa * Use runCommand.
svn path=/nixos/trunk/; revision=7300
2006-12-10 22:43:04 +00:00

14 lines
297 B
Nix

{stdenv, runCommand, substituteAll, nix}:
substituteAll {
src = ./nixos-installer.sh;
dir = "bin";
isExecutable = true;
inherit nix;
pathsFromGraph = ../helpers/paths-from-graph.sh;
nixClosure = runCommand "closure"
{exportReferencesGraph = ["refs" nix];}
"cp refs $out";
}