summaryrefslogtreecommitdiffstats
path: root/nixos/modules/installer/tools/tools.nix
diff options
context:
space:
mode:
authorMaƫlys Bras de fer <mae.bdf@outlook.com>2022-07-07 18:42:44 +0200
committerGitHub <noreply@github.com>2022-07-07 18:42:44 +0200
commitb2224764eeaab6792054e98780cf05be6baec601 (patch)
treedaa41b68dae806f11d2ac1392d87b76e60af7a0e /nixos/modules/installer/tools/tools.nix
parent98472c0467e56d143b2f97a669eddefb7cf99b19 (diff)
nixos-generate-config: substitute nix-instantiate
Diffstat (limited to 'nixos/modules/installer/tools/tools.nix')
-rw-r--r--nixos/modules/installer/tools/tools.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/installer/tools/tools.nix b/nixos/modules/installer/tools/tools.nix
index 04be272742ce..8719a509d64c 100644
--- a/nixos/modules/installer/tools/tools.nix
+++ b/nixos/modules/installer/tools/tools.nix
@@ -34,6 +34,7 @@ let
name = "nixos-generate-config";
src = ./nixos-generate-config.pl;
perl = "${pkgs.perl.withPackages (p: [ p.FileSlurp ])}/bin/perl";
+ nixInstantiate = "${pkgs.nix}/bin/nix-instantiate";
detectvirt = "${config.systemd.package}/bin/systemd-detect-virt";
btrfs = "${pkgs.btrfs-progs}/bin/btrfs";
inherit (config.system.nixos-generate-config) configuration desktopConfiguration;