retroarchBare: add passthru.updateScript

This commit is contained in:
Thiago Kenji Okada 2024-02-04 22:09:16 +00:00
parent c368f8c544
commit dbec67530b

View File

@ -12,6 +12,7 @@
, flac , flac
, freetype , freetype
, gamemode , gamemode
, gitUpdater
, libdrm , libdrm
, libGL , libGL
, libGLU , libGLU
@ -122,7 +123,12 @@ stdenv.mkDerivation rec {
rm $out/share/man/man6/retroarch-cg2glsl.6* rm $out/share/man/man6/retroarch-cg2glsl.6*
''; '';
passthru.tests = nixosTests.retroarch; passthru = {
tests = nixosTests.retroarch;
updateScript = gitUpdater {
rev-prefix = "v";
};
};
meta = with lib; { meta = with lib; {
homepage = "https://libretro.com"; homepage = "https://libretro.com";