Merge pull request #57750 from tomfitzhenry/remove-freetype-from-adoptopenjdk

Remove libfreetype.so from adoptopenjdk's derivation.
This commit is contained in:
Matthew Bauer 2019-03-25 22:19:16 -04:00 committed by GitHub
commit 5d173c9ee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,6 +72,10 @@ let result = stdenv.mkDerivation rec {
# Remove some broken manpages.
rm -rf $out/man/ja*
# Remove embedded freetype to avoid problems like
# https://github.com/NixOS/nixpkgs/issues/57733
rm $out/lib/libfreetype.so
# for backward compatibility
ln -s $out $out/jre