mame: add version check hook
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user