postgresql: don't try to use 'locale' if not building to run on glibc
This commit is contained in:
parent
d6b5ee8b5a
commit
81eef05f86
@ -69,7 +69,7 @@ let
|
||||
fi
|
||||
'';
|
||||
|
||||
postFixup = lib.optionalString (!stdenv.isDarwin)
|
||||
postFixup = lib.optionalString (!stdenv.isDarwin && stdenv.hostPlatform.libc == "glibc")
|
||||
''
|
||||
# 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