Allow user config to override nix store paths, etc. Removed obsolete nixNoBDB.
Use the following settings in ${NIXPKGS_CONFIG} to customize the installation
of nixUnstable:
nix =
{
OldDBSupport = false;
storeDir = "/home/foobar/.nix/store";
stateDir = "/home/foobar/.nix/var";
}
svn path=/nixpkgs/trunk/; revision=12909
This commit is contained in:
@@ -7468,12 +7468,11 @@ let
|
|||||||
inherit fetchurl stdenv perl curl bzip2 openssl;
|
inherit fetchurl stdenv perl curl bzip2 openssl;
|
||||||
aterm = aterm242fixes;
|
aterm = aterm242fixes;
|
||||||
db4 = db45;
|
db4 = db45;
|
||||||
supportOldDBs = true;
|
supportOldDBs = getPkgConfig "nix" "OldDBSupport" true;
|
||||||
|
storeDir = getPkgConfig "nix" "storeDir" "/nix/store";
|
||||||
|
stateDir = getPkgConfig "nix" "stateDir" "/nix/state";
|
||||||
};
|
};
|
||||||
|
|
||||||
# !!! remove in a few weeks, obsolete
|
|
||||||
nixNoBDB = nixUnstable;
|
|
||||||
|
|
||||||
nixCustomFun = src: preConfigure: enableScripts: configureFlags:
|
nixCustomFun = src: preConfigure: enableScripts: configureFlags:
|
||||||
import ../tools/package-management/nix/custom.nix {
|
import ../tools/package-management/nix/custom.nix {
|
||||||
inherit fetchurl stdenv perl curl bzip2 openssl src preConfigure automake
|
inherit fetchurl stdenv perl curl bzip2 openssl src preConfigure automake
|
||||||
|
|||||||
Reference in New Issue
Block a user