Unverified Commit 15c8e600 authored by Christoph Jabs's avatar Christoph Jabs
Browse files

cargo-msrv: fix update script

parent 9f09a3f2
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
  openssl,
  stdenv,
  makeWrapper,
  gitUpdater,
  nix-update-script,
}:

rustPlatform.buildRustPackage (finalAttrs: {
@@ -23,11 +23,8 @@ rustPlatform.buildRustPackage (finalAttrs: {

  cargoHash = "sha256-cIyoGFIxtX4/Dn4RbtMB75WQj+UO44V182u6C5smgSw=";

  passthru = {
    updateScript = gitUpdater {
      rev-prefix = "v";
      ignoredVersions = ".(rc|beta).*";
    };
  passthru.updateScript = nix-update-script {
    extraArgs = [ "--version-regex=^v([0-9.]+)$" ];
  };

  # Integration tests fail