diff options
author | Domen Kožar <domen@dev.si> | 2021-01-15 20:03:07 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2021-01-15 20:07:38 +0100 |
commit | c32f5b22f1c680a65f3ae63cf14dfed6b967e675 (patch) | |
tree | 65b3ae05e08b39077ccdecb553a0431fb23a5447 /nixos/modules/installer/tools/tools.nix | |
parent | 7996fb0d4e8a438b0d621220c8cc3f327867c0d3 (diff) |
move nixos-rebuild into pkgs
Diffstat (limited to 'nixos/modules/installer/tools/tools.nix')
-rw-r--r-- | nixos/modules/installer/tools/tools.nix | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/nixos/modules/installer/tools/tools.nix b/nixos/modules/installer/tools/tools.nix index 0582812f92d2..ada5f5748561 100644 --- a/nixos/modules/installer/tools/tools.nix +++ b/nixos/modules/installer/tools/tools.nix @@ -28,17 +28,7 @@ let ]; }; - nixos-rebuild = - let fallback = import ./nix-fallback-paths.nix; in - makeProg { - name = "nixos-rebuild"; - src = ./nixos-rebuild.sh; - inherit (pkgs) runtimeShell; - nix = config.nix.package.out; - nix_x86_64_linux = fallback.x86_64-linux; - nix_i686_linux = fallback.i686-linux; - path = makeBinPath [ pkgs.jq ]; - }; + nixos-rebuild = pkgs.nixos-rebuild.override { nix = config.nix.package.out; }; nixos-generate-config = makeProg { name = "nixos-generate-config"; |