git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #20684 from LumiGuide/fix-postgresql-osx
aaa40f7Daiderd Jordan
pkgs/servers/sql/postgresql/default.nix+1−1
@@ -58,7 +58,7 @@ let
58 substituteInPlace "$out/lib/pgxs/src/Makefile.global" --replace ${stdenv.cc}/bin/ld ld
58 substituteInPlace "$out/lib/pgxs/src/Makefile.global" --replace ${stdenv.cc}/bin/ld ld
59 '';
59 '';
60
60
61− postFixup =
61+ postFixup = lib.optionalString (!stdenv.isDarwin)
62 ''
62 ''
63 # initdb needs access to "locale" command from glibc.
63 # initdb needs access to "locale" command from glibc.
64 wrapProgram $out/bin/initdb --prefix PATH ":" ${glibc.bin}/bin
64 wrapProgram $out/bin/initdb --prefix PATH ":" ${glibc.bin}/bin