summary refs log tree commit diff
path: root/pkgs/tools/security/ssdeep
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-05-16 16:35:52 +0200
committerVladimír Čunát <vcunat@gmail.com>2017-05-16 18:30:58 +0200
commit65ede052fa9f005efcdb2e852315a0e6f02ce92d (patch)
treead5be9b50e547028ceb5b82bed8dab50d828ab19 /pkgs/tools/security/ssdeep
parent0b89f71a07676a09571e22c0e8e8e6928da9334b (diff)
downloadnixlib-65ede052fa9f005efcdb2e852315a0e6f02ce92d.tar
nixlib-65ede052fa9f005efcdb2e852315a0e6f02ce92d.tar.gz
nixlib-65ede052fa9f005efcdb2e852315a0e6f02ce92d.tar.bz2
nixlib-65ede052fa9f005efcdb2e852315a0e6f02ce92d.tar.lz
nixlib-65ede052fa9f005efcdb2e852315a0e6f02ce92d.tar.xz
nixlib-65ede052fa9f005efcdb2e852315a0e6f02ce92d.tar.zst
nixlib-65ede052fa9f005efcdb2e852315a0e6f02ce92d.zip
treewide: fixup packages with RPATH problems
Diffstat (limited to 'pkgs/tools/security/ssdeep')
-rw-r--r--pkgs/tools/security/ssdeep/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/security/ssdeep/default.nix b/pkgs/tools/security/ssdeep/default.nix
index b581d8007947..0a9804a743bc 100644
--- a/pkgs/tools/security/ssdeep/default.nix
+++ b/pkgs/tools/security/ssdeep/default.nix
@@ -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) ''