From 159a021bd83bc3e1bd385fe89522aea877eea29c Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Thu, 1 Mar 2018 14:44:25 +0100 Subject: [PATCH] pgmanage: fix build The configure script uses the `command` builtin command which is bash specific while having a "#!/bin/sh" head. This forces the use nix default shell (bash) --- pkgs/applications/misc/pgmanage/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/misc/pgmanage/default.nix b/pkgs/applications/misc/pgmanage/default.nix index fd66ce8fc31c..760f5a906635 100644 --- a/pkgs/applications/misc/pgmanage/default.nix +++ b/pkgs/applications/misc/pgmanage/default.nix @@ -11,6 +11,10 @@ stdenv.mkDerivation rec { sha256 = "0g9kvhs9b6kc1s7j90fqv71amiy9v0w5p906yfvl0j7pf3ayq35a"; }; + patchPhase = '' + patchShebangs src/configure + ''; + buildInputs = [ postgresql openssl ]; meta = with stdenv.lib; {