Commit f226584a authored by 06kellyjac's avatar 06kellyjac
Browse files

luanti: avoid rc releases

Last update was accepting all but -android.
Might need to provide a regex to avoid -android releases
but haven't had one for a while.
parent cc1003a2
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  stdenv,
  fetchFromGitHub,
  gitUpdater,
  substitute,
  cmake,
  coreutils,
@@ -35,6 +34,8 @@
  buildServer ? true,
  SDL2,
  useSDL2 ? true,

  nix-update-script,
}:

stdenv.mkDerivation (finalAttrs: {
@@ -141,10 +142,7 @@ stdenv.mkDerivation (finalAttrs: {

  doCheck = true;

  passthru.updateScript = gitUpdater {
    allowedVersions = "\\.";
    ignoredVersions = "-android$";
  };
  passthru.updateScript = nix-update-script { };

  meta = with lib; {
    homepage = "https://www.luanti.org/";