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 a new issue