1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00

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.