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

This commit is contained in:
Emily 2024-11-11 16:46:30 +00:00 committed by GitHub
commit 1c3064c95b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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