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:
parent
c3e966b0cb
commit
56e06c9790
@ -8459,6 +8459,9 @@ let
|
|||||||
inherit fetchurl stdenv perl curl bzip2 openssl;
|
inherit fetchurl stdenv perl curl bzip2 openssl;
|
||||||
aterm = aterm242fixes;
|
aterm = aterm242fixes;
|
||||||
db4 = db45;
|
db4 = db45;
|
||||||
|
supportOldDBs = getPkgConfig "nix" "OldDBSupport" true;
|
||||||
|
storeDir = getPkgConfig "nix" "storeDir" "/nix/store";
|
||||||
|
stateDir = getPkgConfig "nix" "stateDir" "/nix/var";
|
||||||
};
|
};
|
||||||
|
|
||||||
# The bleeding edge.
|
# The bleeding edge.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user