crystal.buildCrystalPackage: fix {pre,post}InstallCheck skips (#528070)

This commit is contained in:
Weijia Wang
2026-06-05 14:34:51 +00:00
committed by GitHub

View File

@@ -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 = {