Skip to content
Snippets Groups Projects
Unverified Commit 145db703 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

Remove boost from the closure

This reduces the size of the closure by 45 MiB.
parent 64d7d1a8
No related branches found
No related tags found
No related merge requests found
......@@ -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" ];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment