packaging: use the upstream mesonCheckPhase for installCheckPhase
This gets us `--print-errorlogs` and `--timeout-multiplier=0` for free, and also fixes the concatenation logic with `__structuredAttrs`. Change-Id: I6a6a69643ea7224cb24508505c554143f83ae243
This commit is contained in:
+4
-5
@@ -450,13 +450,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--print-errorlogs"
|
||||
];
|
||||
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
flagsArray=($mesonInstallCheckFlags "''${mesonInstallCheckFlagsArray[@]}")
|
||||
meson test --no-rebuild "''${flagsArray[@]}"
|
||||
runHook postInstallCheck
|
||||
preInstallCheck = ''
|
||||
mesonCheckFlags=("''${mesonInstallCheckFlags[@]}")
|
||||
'';
|
||||
|
||||
installCheckPhase = "mesonCheckPhase";
|
||||
|
||||
separateDebugInfo = !hostPlatform.isStatic && !finalAttrs.dontBuild;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
Reference in New Issue
Block a user