From 9ad2832b1bf6897d59d7085859b3ed8627aa1cd7 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 24 Apr 2016 17:22:40 +0200 Subject: [PATCH] pgadmin: Fix build Fixes #14919. --- pkgs/applications/misc/pgadmin/default.nix | 9 +++++++-- 1 file 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;