strigi: Fix libraries being installed in $out/$out/lib

Since we don't strip binaries in $out/$out, this was causing strigi to
have a dependency on gcc in its closure.
This commit is contained in:
Eelco Dolstra 2016-09-20 13:11:59 +02:00
parent dd4a015aa8
commit 3143f39e5a

View File

@ -24,6 +24,15 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
# Strigi installs some libraries in an incorrect place
# ($out/$out/lib instead of $out/lib), so move them to the right
# place.
postInstall =
''
mv $out/$out/lib/* $out/lib
rm -rf $out/nix
'';
meta = {
homepage = http://strigi.sourceforge.net;
description = "A very fast and efficient crawler to index data on your harddrive";