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
|
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.
|
# initdb needs access to "locale" command from glibc.
|
||||||
wrapProgram $out/bin/initdb --prefix PATH ":" ${glibc.bin}/bin
|
wrapProgram $out/bin/initdb --prefix PATH ":" ${glibc.bin}/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user