adns: modernize installCheckPhase

This commit is contained in:
Emily
2024-11-11 10:02:43 +00:00
parent 9bac1ec685
commit 6ae57a56dc
+3 -1
View File
@@ -43,11 +43,13 @@ stdenv.mkDerivation (finalAttrs: {
'';
installCheckPhase = ''
set -eo pipefail
runHook preInstallCheck
for prog in $out/bin/*; do
$prog --help > /dev/null && echo $(basename $prog) shows usage
done
runHook postInstallCheck
'';
passthru.updateScript = gitUpdater {