p11-kit: fix check flag conditionalization (#355233)

This commit is contained in:
Emily
2024-11-11 16:46:30 +00:00
committed by GitHub
+1 -1
View File
@@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
]))
];
mesonCheckFlags = lib.optionals (stdenv.buildPlatform.isDarwin && stdenv.buildPlatform.isx86_64) [
${if stdenv.buildPlatform.isDarwin && stdenv.buildPlatform.isx86_64 then "mesonCheckFlags" else null} = [
# Tests regularly exceed the default timeout on `x86_64-darwin`.
"--timeout-multiplier=0"
];