pgadmin: Fix build

Fixes #14919.
This commit is contained in:
Franz Pletz 2016-04-24 17:22:40 +02:00
parent af9fcaf910
commit 9ad2832b1b

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, postgresql, wxGTK, libxml2, libxslt, openssl }: { stdenv, fetchurl, postgresql, wxGTK, libxml2, libxslt, openssl, zlib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "pgadmin3-${version}"; name = "pgadmin3-${version}";
@ -11,12 +11,17 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
buildInputs = [ postgresql wxGTK libxml2 libxslt openssl ]; buildInputs = [ postgresql wxGTK openssl zlib ];
preConfigure = '' preConfigure = ''
substituteInPlace pgadmin/ver_svn.sh --replace "bin/bash" "$shell" substituteInPlace pgadmin/ver_svn.sh --replace "bin/bash" "$shell"
''; '';
configureFlags = [
"--with-libxml2=${libxml2}"
"--with-libxslt=${libxslt}"
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "PostgreSQL administration GUI tool"; description = "PostgreSQL administration GUI tool";
homepage = http://www.pgadmin.org; homepage = http://www.pgadmin.org;