mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
postgresql: fix build on darwin
This commit is contained in:
parent
61f38b9e83
commit
1f95524ab5
@ -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