diff --git a/pkgs/applications/emulators/mame/default.nix b/pkgs/applications/emulators/mame/default.nix index f66e9144de38..b5b760caa955 100644 --- a/pkgs/applications/emulators/mame/default.nix +++ b/pkgs/applications/emulators/mame/default.nix @@ -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