mirror of
https://github.com/NixOS/nix.git
synced 2024-10-31 14:20:52 +00:00
Remove boost from the closure
This reduces the size of the closure by 45 MiB.
This commit is contained in:
parent
64d7d1a884
commit
145db703e5
@ -67,6 +67,14 @@ let
|
||||
|
||||
buildInputs = buildDeps;
|
||||
|
||||
preConfigure =
|
||||
# Copy libboost_context so we don't get all of Boost in our closure.
|
||||
# https://github.com/NixOS/nixpkgs/issues/45462
|
||||
''
|
||||
mkdir -p $out/lib
|
||||
cp ${boost}/lib/libboost_context* $out/lib
|
||||
'';
|
||||
|
||||
configureFlags = configureFlags ++
|
||||
[ "--sysconfdir=/etc" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user