Unverified Commit 93f474f6 authored by teutat3s's avatar teutat3s
Browse files

matrix-authentication-service: avoid updating to pre-releases

parent 25fb6b71
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -88,7 +88,13 @@ rustPlatform.buildRustPackage (finalAttrs: {
  nativeInstallCheckInputs = [ versionCheckHook ];
  versionCheckProgramArg = "--version";
  doInstallCheck = true;
  passthru.updateScript = nix-update-script { };
  passthru.updateScript = nix-update-script {
    extraArgs = [
      # avoid unstable pre‐releases
      "--version-regex"
      "^v([0-9.]+)$"
    ];
  };

  meta = {
    description = "OAuth2.0 + OpenID Provider for Matrix Homeservers";