Skip to content

Commit 4a2c7de

Browse files
authored
nixos/tools: Make the tools derivations overridable (#353173)
2 parents 4dde341 + 8b2577c commit 4a2c7de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nixos/modules/installer/tools/tools.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,10 @@ in
228228
in [
229229
(mkToolModule { name = "nixos-build-vms"; })
230230
(mkToolModule { name = "nixos-enter"; })
231-
(mkToolModule { name = "nixos-generate-config"; package = nixos-generate-config; })
232-
(mkToolModule { name = "nixos-install"; package = nixos-install; })
231+
(mkToolModule { name = "nixos-generate-config"; package = config.system.build.nixos-generate-config; })
232+
(mkToolModule { name = "nixos-install"; package = config.system.build.nixos-install; })
233233
(mkToolModule { name = "nixos-option"; })
234-
(mkToolModule { name = "nixos-rebuild"; package = nixos-rebuild; })
234+
(mkToolModule { name = "nixos-rebuild"; package = config.system.build.nixos-rebuild; })
235235
(mkToolModule { name = "nixos-version"; package = nixos-version; })
236236
];
237237

0 commit comments

Comments
 (0)