summary refs log tree commit diff
path: root/pkgs/applications/misc/pgadmin
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2016-04-24 17:22:40 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2016-04-24 17:41:07 +0200
commit9ad2832b1bf6897d59d7085859b3ed8627aa1cd7 (patch)
treecc391476fe78fc8ddbf09c66551d0b5119638d29 /pkgs/applications/misc/pgadmin
parentaf9fcaf910a4087bae0f51be03d9131302fc0201 (diff)
downloadnixpkgs-9ad2832b1bf6897d59d7085859b3ed8627aa1cd7.tar
nixpkgs-9ad2832b1bf6897d59d7085859b3ed8627aa1cd7.tar.gz
nixpkgs-9ad2832b1bf6897d59d7085859b3ed8627aa1cd7.tar.bz2
nixpkgs-9ad2832b1bf6897d59d7085859b3ed8627aa1cd7.tar.lz
nixpkgs-9ad2832b1bf6897d59d7085859b3ed8627aa1cd7.tar.xz
nixpkgs-9ad2832b1bf6897d59d7085859b3ed8627aa1cd7.tar.zst
nixpkgs-9ad2832b1bf6897d59d7085859b3ed8627aa1cd7.zip
pgadmin: Fix build
Fixes #14919.
Diffstat (limited to 'pkgs/applications/misc/pgadmin')
-rw-r--r--pkgs/applications/misc/pgadmin/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/applications/misc/pgadmin/default.nix b/pkgs/applications/misc/pgadmin/default.nix
index 894aeaab425..2f33edc9adc 100644
--- a/pkgs/applications/misc/pgadmin/default.nix
+++ b/pkgs/applications/misc/pgadmin/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, postgresql, wxGTK, libxml2, libxslt, openssl }:
+{ stdenv, fetchurl, postgresql, wxGTK, libxml2, libxslt, openssl, zlib }:
 
 stdenv.mkDerivation rec {
   name = "pgadmin3-${version}";
@@ -11,12 +11,17 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
-  buildInputs = [ postgresql wxGTK libxml2 libxslt openssl ];
+  buildInputs = [ postgresql wxGTK openssl zlib ];
 
   preConfigure = ''
     substituteInPlace pgadmin/ver_svn.sh --replace "bin/bash" "$shell"
   '';
 
+  configureFlags = [
+    "--with-libxml2=${libxml2}"
+    "--with-libxslt=${libxslt}"
+  ];
+
   meta = with stdenv.lib; { 
     description = "PostgreSQL administration GUI tool";
     homepage = http://www.pgadmin.org;