postgresql: fix build on riscv

This commit is contained in:
Nick Cao 2021-11-28 21:58:40 +08:00
parent 3e892167eb
commit 7941fcd361
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1

View file

@ -71,7 +71,8 @@ let
(if stdenv.isDarwin then "--with-uuid=e2fs" else "--with-ossp-uuid")
] ++ lib.optionals icuEnabled [ "--with-icu" ]
++ lib.optionals lz4Enabled [ "--with-lz4" ]
++ lib.optionals gssSupport [ "--with-gssapi" ];
++ lib.optionals gssSupport [ "--with-gssapi" ]
++ lib.optionals stdenv.hostPlatform.isRiscV [ "--disable-spinlocks" ];
patches =
[ (if atLeast "9.4" then ./patches/disable-resolve_symlinks-94.patch else ./patches/disable-resolve_symlinks.patch)