apparmor-parser: enable most tests on musl

This commit is contained in:
Grimmauld
2025-06-10 20:14:40 +02:00
parent 05fb388ea7
commit 74cd665d8f
+7 -1
View File
@@ -59,9 +59,15 @@ stdenv.mkDerivation (finalAttrs: {
checkTarget = "tests";
checkFlags = lib.optionals stdenv.hostPlatform.isMusl [
# equality tests are broken on musl due to different priority values
# https://gitlab.com/apparmor/apparmor/-/issues/513
"-o equality"
];
postCheck = "popd";
doCheck = stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isMusl;
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
checkInputs = [
bashInteractive
perl