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

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
url = "http://www.vandenoever.info/software/strigi/${name}.tar.bz2";
sha256 = "12grxzqwnvbyqw7q1gnz42lypadxmq89vk2qpxczmpmc4nk63r23";
};
includeAllQtDirs = true;
CLUCENE_HOME = clucene_core;
@ -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";