1ae14203fc
GitOrigin-RevId: 68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0
22 lines
457 B
Nix
22 lines
457 B
Nix
{ substituteAll
|
|
, runtimeShell
|
|
, coreutils
|
|
, gnused
|
|
, gnugrep
|
|
, jq
|
|
, nix
|
|
, lib
|
|
}:
|
|
let
|
|
fallback = import ./../../../../nixos/modules/installer/tools/nix-fallback-paths.nix;
|
|
in
|
|
substituteAll {
|
|
name = "nixos-rebuild";
|
|
src = ./nixos-rebuild.sh;
|
|
dir = "bin";
|
|
isExecutable = true;
|
|
inherit runtimeShell nix;
|
|
nix_x86_64_linux = fallback.x86_64-linux;
|
|
nix_i686_linux = fallback.i686-linux;
|
|
path = lib.makeBinPath [ coreutils jq gnused gnugrep ];
|
|
}
|