packaging: actually run install checks
`mesonCheckPhase` of course runs `preCheck` and `postCheck` hooks,
not `preInstallCheck`, so this was not doing the right thing. Really
sorry for breaking CI :(
Fixes: e6da29ad6b
Change-Id: I6a6a69642a242e2c8bfe10ac61d3f6756d666548
This commit is contained in:
+10
-4
@@ -444,11 +444,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--suite=installcheck"
|
||||
];
|
||||
|
||||
preInstallCheck = ''
|
||||
mesonCheckFlags=("''${mesonInstallCheckFlags[@]}")
|
||||
'';
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
|
||||
installCheckPhase = "mesonCheckPhase";
|
||||
(
|
||||
unset -v preCheck preCheckHooks postCheck postCheckHooks
|
||||
mesonCheckFlags=("''${mesonInstallCheckFlags[@]}")
|
||||
mesonCheckPhase
|
||||
)
|
||||
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
separateDebugInfo = !hostPlatform.isStatic && !finalAttrs.dontBuild;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user