1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-28 20:16:41 +03:00
nixpkgs/installer/nixos-installer.nix

17 lines
372 B
Nix
Raw Normal View History

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