Merge pull request #87545 from wamserma/libfm-fix-collision

libfm: fix duplicate inclusion of libfm-extra
This commit is contained in:
Thomas Tuegel 2020-05-11 09:44:24 -05:00 committed by GitHub
commit 8eaf1f1cd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,11 @@ stdenv.mkDerivation rec {
"sysconfdir=${placeholder "out"}/etc"
];
# libfm-extra is pulled in by menu-cache and thus leads to a collision for libfm
postInstall = optional (!extraOnly) ''
rm $out/lib/libfm-extra.so $out/lib/libfm-extra.so.* $out/lib/libfm-extra.la $out/lib/pkgconfig/libfm-extra.pc
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {