Build with large config Boehm GC

This commit is contained in:
Eelco Dolstra
2020-02-18 17:57:10 +01:00
parent f46bc0e8eb
commit 583d06385d
3 changed files with 10 additions and 4 deletions
+5 -1
View File
@@ -48,7 +48,7 @@ rec {
buildDeps =
[ curl
bzip2 xz brotli zlib editline
openssl pkgconfig sqlite boehmgc
openssl pkgconfig sqlite
libarchive
boost
nlohmann_json
@@ -73,6 +73,10 @@ rec {
*/
}));
propagatedDeps =
[ (boehmgc.override { enableLargeConfig = true; })
];
perlDeps =
[ perl
perlPackages.DBDSQLite
+4 -2
View File
@@ -67,7 +67,7 @@ let
src = nix;
inherit officialRelease;
buildInputs = tarballDeps ++ buildDeps;
buildInputs = tarballDeps ++ buildDeps ++ propagatedDeps;
postUnpack = ''
(cd $sourceRoot && find . -type f) | cut -c3- > $sourceRoot/.dist-files
@@ -111,6 +111,8 @@ let
buildInputs = buildDeps;
propagatedBuildInputs = propagatedDeps;
preConfigure =
# Copy libboost_context so we don't get all of Boost in our closure.
# https://github.com/NixOS/nixpkgs/issues/45462
@@ -244,7 +246,7 @@ let
enableParallelBuilding = true;
buildInputs = buildDeps;
buildInputs = buildDeps ++ propagatedDeps;
dontInstall = false;
+1 -1
View File
@@ -7,7 +7,7 @@ with import ./release-common.nix { inherit pkgs; };
(if useClang then clangStdenv else stdenv).mkDerivation {
name = "nix";
buildInputs = buildDeps ++ tarballDeps ++ perlDeps ++ [ pkgs.rustfmt ];
buildInputs = buildDeps ++ propagatedDeps ++ tarballDeps ++ perlDeps ++ [ pkgs.rustfmt ];
inherit configureFlags;