Skip to content

Commit

Permalink
libpsl: disable valgrind tests on musl (#191028)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yu-re-ka committed Sep 13, 2022
1 parent 723a564 commit 4f07c96
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/development/libraries/libpsl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 4f07c96

Please sign in to comment.