···198 # autodetection doesn't seem to able to find this, but it's there.
199 checkTarget = "check";
200201- # TODO: Remove after the next set of minor releases on May 9th 2024
202- preCheck =
203- # On musl, comment skip the following tests, because they break due to
204- # ! ERROR: could not load library "/build/postgresql-11.5/tmp_install/nix/store/...-postgresql-11.5-lib/lib/libpqwalreceiver.so": Error loading shared library libpq.so.5: No such file or directory (needed by /build/postgresql-11.5/tmp_install/nix/store/...-postgresql-11.5-lib/lib/libpqwalreceiver.so)
205- # See also here:
206- # https://git.alpinelinux.org/aports/tree/main/postgresql/disable-broken-tests.patch?id=6d7d32c12e073a57a9e5946e55f4c1fbb68bd442
207- if stdenv'.hostPlatform.isMusl then ''
208- substituteInPlace src/test/regress/parallel_schedule \
209- --replace "subscription" "" \
210- --replace "object_address" ""
211- '' else null;
212-213 disallowedReferences = [ stdenv'.cc ];
214215 passthru = let
···198 # autodetection doesn't seem to able to find this, but it's there.
199 checkTarget = "check";
200000000000000201 disallowedReferences = [ stdenv'.cc ];
202203 passthru = let