p11-kit: fix check flag conditionalization

Fixes: 34f5abab7a
This commit is contained in:
Emily 2024-11-11 16:45:27 +00:00
parent 34f5abab7a
commit 2cb56f387a

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"
];