libpsl: disable valgrind tests on musl (#191028)

Valgrind on musl does not hook malloc calls properly, resulting in errors `Invalid free() / delete / delete[] / realloc()`
https://bugs.kde.org/show_bug.cgi?id=435441
This commit is contained in:
Yuka 2022-09-13 10:41:29 +02:00 committed by GitHub
parent 723a5645b5
commit 4f07c96203
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,11 @@ let
enableValgrindTests = !stdenv.isDarwin && lib.meta.availableOn stdenv.hostPlatform valgrind
# Apparently valgrind doesn't support some new ARM features on (some) Hydra machines:
# VEX: Mismatch detected between RDMA and atomics features.
&& !stdenv.isAarch64;
&& !stdenv.isAarch64
# Valgrind on musl does not hook malloc calls properly, resulting in errors `Invalid free() / delete / delete[] / realloc()`
# https://bugs.kde.org/show_bug.cgi?id=435441
&& !stdenv.hostPlatform.isMusl
;
in stdenv.mkDerivation rec {
pname = "libpsl";
version = "0.21.1";