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:
Eelco Dolstra 2024-01-05 15:15:25 +01:00
parent cbf99c71c6
commit 388c79d546
1 changed files with 1 additions and 1 deletions

View File

@ -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.*