1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

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 {
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;