mame: add version check hook

This commit is contained in:
Dimitar Nestorov
2025-01-12 21:54:14 +02:00
parent c72d6a4cca
commit 66ec56eddb
@@ -28,6 +28,7 @@
rapidjson,
sqlite,
utf8proc,
versionCheckHook,
which,
writeScript,
zlib,
@@ -191,6 +192,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "-h" ];
passthru.updateScript = writeScript "mame-update-script" ''
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl common-updater-scripts jq