about summary refs log tree commit diff
path: root/pkgs/tools/security/ssdeep/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/ssdeep/default.nix')
-rw-r--r--pkgs/tools/security/ssdeep/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/ssdeep/default.nix b/pkgs/tools/security/ssdeep/default.nix
index 68b8afdf6712..b3ec01ebdbbf 100644
--- a/pkgs/tools/security/ssdeep/default.nix
+++ b/pkgs/tools/security/ssdeep/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ autoreconfHook ];
 
   # remove forbidden references to $TMPDIR
-  preFixup = lib.optionalString stdenv.isLinux ''
+  preFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
     patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$out"/bin/*
   '';