From a16d43a8ac449cf8063fcb0b4c013a93ae61126b Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Sat, 29 Oct 2011 22:00:25 +0000 Subject: [PATCH] Make the stateDir and storeDir available for substitution into the tools svn path=/nixos/trunk/; revision=30105 --- modules/installer/tools/tools.nix | 1 + 1 file changed, 1 insertion(+) 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 {