mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
crystal.buildCrystalPackage: fix {pre,post}InstallCheck skips (#528070)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user