about summary refs log tree commit diff
path: root/pkgs/tools/security/thc-hydra
diff options
context:
space:
mode:
authorJaka Hudoklin <jakahudoklin@gmail.com>2014-12-11 23:25:17 +0100
committerJaka Hudoklin <jakahudoklin@gmail.com>2014-12-11 23:25:26 +0100
commit1465d9321dd025f625d28d0faa55b64f6021f941 (patch)
tree70534337bab931612686fc051088695ef988c9e5 /pkgs/tools/security/thc-hydra
parent3ceb789c36494118a8d6f12848c102f61c0abca1 (diff)
thc-hydra: include postgresql brute-force support
Diffstat (limited to 'pkgs/tools/security/thc-hydra')
-rw-r--r--pkgs/tools/security/thc-hydra/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/security/thc-hydra/default.nix b/pkgs/tools/security/thc-hydra/default.nix
index 8b65b27b66bdc..29c29d6b93af7 100644
--- a/pkgs/tools/security/thc-hydra/default.nix
+++ b/pkgs/tools/security/thc-hydra/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, openssl, libidn, ncurses, pcre, libssh }:
+{ stdenv, fetchurl, openssl, libidn, ncurses, pcre, libssh, postgresql92 }:
 
 with stdenv.lib;
 
@@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
   };
 
   preConfigure = ''
-   substituteInPlace configure --replace "\$LIBDIRS" "${openssl}/lib ${pcre}/lib ${libssh}/lib"
-   substituteInPlace configure --replace "\$INCDIRS" "${openssl}/include ${pcre}/include ${libssh}/include"
+   substituteInPlace configure --replace "\$LIBDIRS" "${openssl}/lib ${pcre}/lib ${libssh}/lib ${postgresql92}/lib"
+   substituteInPlace configure --replace "\$INCDIRS" "${openssl}/include ${pcre}/include ${libssh}/include ${postgresql92}/include"
   '';
 
   buildInputs = [ openssl libidn ncurses pcre libssh ];