Unverified Commit 430ebc6c authored by Cosima Neidahl's avatar Cosima Neidahl Committed by GitHub
Browse files

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

parents 553064c6 c6ccef5d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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
    '';