Merge pull request #20684 from LumiGuide/fix-postgresql-osx
postgresql: fix build on darwin
This commit is contained in:
commit
aaa40f745a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user