box64: Set allowedVersions for passthru.updateScript (#499848)

This commit is contained in:
Cosima Neidahl
2026-03-22 20:15:16 +00:00
committed by GitHub
@@ -88,7 +88,10 @@ stdenv.mkDerivation (finalAttrs: {
'';
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
updateScript = gitUpdater {
rev-prefix = "v";
allowedVersions = "\\.[02468]$";
};
tests.hello = runCommand "box64-test-hello" { nativeBuildInputs = [ finalAttrs.finalPackage ]; } ''
BOX64_LOG=1 box64 ${lib.getExe hello-x86_64} --version 2>&1 | tee $out
'';