diff --git a/modules/installer/tools/tools.nix b/modules/installer/tools/tools.nix index 069e45127ef6..ddbe71a321cd 100644 --- a/modules/installer/tools/tools.nix +++ b/modules/installer/tools/tools.nix @@ -10,6 +10,7 @@ let makeProg = args: pkgs.substituteAll (args // { dir = "bin"; isExecutable = true; + inherit (config.nixpkgs.config.nix) storeDir stateDir; }); nixosBuildVMS = makeProg {