3
0
Fork 0
forked from mirrors/nixpkgs

pkgs/top-level/all-packages.nix: added support for overriding Nix's storeDir and stateDir in nix-pkgs.conf

This patch allows Nix to be build using store locations other than "/nix".

svn path=/nixpkgs/trunk/; revision=18206
This commit is contained in:
Peter Simons 2009-11-06 13:30:06 +00:00
parent c3e966b0cb
commit 56e06c9790

View file

@ -8459,6 +8459,9 @@ let
inherit fetchurl stdenv perl curl bzip2 openssl;
aterm = aterm242fixes;
db4 = db45;
supportOldDBs = getPkgConfig "nix" "OldDBSupport" true;
storeDir = getPkgConfig "nix" "storeDir" "/nix/store";
stateDir = getPkgConfig "nix" "stateDir" "/nix/var";
};
# The bleeding edge.