libfm: fix duplicate inclusion of libfm-extra

This commit is contained in:
Markus S. Wamser 2020-05-10 22:04:39 +02:00
parent ae4d9cb9a0
commit f5c0535213

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; {