git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #20684 from LumiGuide/fix-postgresql-osx

postgresql: fix build on darwin

commitaaa40f745a7f2fed59120609c30d7dcc3ffa2b26 authorDaiderd Jordan <daiderd@gmail.com> dateThu 24 Nov 2016, 12:03 (10 years ago) parent9338d321f95524
1 file changed+1−1
pkgs/servers/sql/postgresql/default.nix+1−1
pkgs/servers/sql/postgresql/default.nix+1−1
@@ -58,7 +58,7 @@ let
5858 substituteInPlace "$out/lib/pgxs/src/Makefile.global" --replace ${stdenv.cc}/bin/ld ld
5959 '';
6060
61− postFixup =
61+ postFixup = lib.optionalString (!stdenv.isDarwin)
6262 ''
6363 # initdb needs access to "locale" command from glibc.
6464 wrapProgram $out/bin/initdb --prefix PATH ":" ${glibc.bin}/bin