mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-28 03:56:48 +03:00
14 lines
297 B
Nix
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";
|
|
}
|