treewide: fixup packages with RPATH problems

This commit is contained in:
Vladimír Čunát
2017-05-16 16:35:52 +02:00
parent 0b89f71a07
commit 65ede052fa
7 changed files with 21 additions and 0 deletions

View File

@@ -9,6 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "1igqy0j7jrklb8fdlrm6ald4cyl1fda5ipfl8crzyl6bax2ajk3f";
};
# Hack to avoid TMPDIR in RPATHs.
preFixup = ''rm -rf "$(pwd)" '';
# For some reason (probably a build system bug), the binary isn't
# properly linked to $out/lib to find libfuzzy.so
postFixup = stdenv.lib.optionalString (!stdenv.isDarwin) ''