crystal.buildCrystalPackage: fix {pre,post}InstallCheck skips

This then broke things like `versionCheckHook` and anything else that
injects itself into the `preInstallCheck` phase.
This commit is contained in:
Peter H. Hoeg
2026-06-05 08:09:35 +01:00
committed by Weijia Wang
parent e7f47da556
commit 5178c2525f
@@ -198,12 +198,16 @@ stdenv.mkDerivation (
installCheckPhase =
args.installCheckPhase or ''
runHook preInstallCheck
for f in $out/bin/*; do
if [[ $f == *.dwarf ]]; then
continue
fi
$f --help > /dev/null
done
runHook postInstallCheck
'';
meta = {