From 2653355a9ca9a405fd07ae5ced363c97a322b170 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) (cherry picked from commit 159a021bd83bc3e1bd385fe89522aea877eea29c) --- 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 e08035aef57..aa6555a89f2 100644 --- a/pkgs/applications/misc/pgmanage/default.nix +++ b/pkgs/applications/misc/pgmanage/default.nix @@ -11,6 +11,10 @@ stdenv.mkDerivation rec { sha256 = "0kzdq3xl6wyclngq307544yk57vpm10wyklkbgzx649z3pls3kyw"; }; + patchPhase = '' + patchShebangs src/configure + ''; + buildInputs = [ postgresql openssl ]; meta = with stdenv.lib; {