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:
parent
c3e966b0cb
commit
56e06c9790
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue