Make the stateDir and storeDir available for substitution into the tools

svn path=/nixos/trunk/; revision=30105
This commit is contained in:
Shea Levy 2011-10-29 22:00:25 +00:00
parent 09cf6ce70c
commit a16d43a8ac

View File

@ -10,6 +10,7 @@ let
makeProg = args: pkgs.substituteAll (args // {
dir = "bin";
isExecutable = true;
inherit (config.nixpkgs.config.nix) storeDir stateDir;
});
nixosBuildVMS = makeProg {