Build with large config Boehm GC

This commit is contained in:
Eelco Dolstra 2020-02-15 21:48:28 +01:00
parent f46bc0e8eb
commit 583d06385d
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE
3 changed files with 10 additions and 4 deletions

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

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;

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;