forked from lix-project/lix
Don't pull in libboost_regex
We're not using and we don't want to pull in libicu (37 MiB).
This commit is contained in:
parent
cbf99c71c6
commit
388c79d546
|
@ -248,7 +248,7 @@ in {
|
|||
# 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 -pd ${boost}/lib/{libboost_context*,libboost_thread*,libboost_system*,libboost_regex*} $out/lib
|
||||
cp -pd ${boost}/lib/{libboost_context*,libboost_thread*,libboost_system*} $out/lib
|
||||
rm -f $out/lib/*.a
|
||||
'' + lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
chmod u+w $out/lib/*.so.*
|
||||
|
|
Loading…
Reference in a new issue