diff options
author | Austin Seipp <aseipp@pobox.com> | 2014-03-29 19:28:39 -0500 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2014-03-29 19:28:39 -0500 |
commit | 81b4248d8d56863a0054ab19ea02a15e3a41d720 (patch) | |
tree | 2dc414003c678ae00e14097107fdb87089255ea5 /pkgs/tools/security/ssdeep | |
parent | 090ee41e6bc1a0fae5c0e85ed213e9ae97211cc3 (diff) |
ssdeep: Fix darwin build
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/tools/security/ssdeep')
-rw-r--r-- | pkgs/tools/security/ssdeep/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/security/ssdeep/default.nix b/pkgs/tools/security/ssdeep/default.nix index c59e50f4ae4cc..c5c474417046c 100644 --- a/pkgs/tools/security/ssdeep/default.nix +++ b/pkgs/tools/security/ssdeep/default.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { sha256 = "1p7dgchq8hgadnxz5qh95ay17k5j74l4qyd15wspc54lb603p2av"; }; - postFixup = '' + postFixup = stdenv.lib.optionalString stdenv.isLinux '' patchelf --set-rpath "$(patchelf --print-rpath $out/bin/ssdeep):$out/lib" $out/bin/ssdeep ''; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { description = "A program for calculating fuzzy hashes"; homepage = "http://www.ssdeep.sf.net"; license = stdenv.lib.licenses.gpl2; - platforms = stdenv.lib.platforms.linux; + platforms = stdenv.lib.platforms.unix; maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; }; } |