From 1f95524ab5bf7dee448afe646a78712d70c5ca2a Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Thu, 24 Nov 2016 09:56:12 +0100 Subject: [PATCH] postgresql: fix build on darwin --- pkgs/servers/sql/postgresql/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/sql/postgresql/default.nix b/pkgs/servers/sql/postgresql/default.nix index a6b139f40b5c..d5ffd5361e45 100644 --- a/pkgs/servers/sql/postgresql/default.nix +++ b/pkgs/servers/sql/postgresql/default.nix @@ -58,7 +58,7 @@ let substituteInPlace "$out/lib/pgxs/src/Makefile.global" --replace ${stdenv.cc}/bin/ld ld ''; - postFixup = + postFixup = lib.optionalString (!stdenv.isDarwin) '' # initdb needs access to "locale" command from glibc. wrapProgram $out/bin/initdb --prefix PATH ":" ${glibc.bin}/bin