cronutils: fix update script (#429817)

authored by Sandro and committed by GitHub a69f2771 896602cb

+7 -2
+7 -2
pkgs/by-name/cr/cronutils/package.nix
··· 18 src = fetchFromGitHub { 19 owner = "google"; 20 repo = "cronutils"; 21 - rev = "version/${finalAttrs.version}"; 22 hash = "sha256-XJksfX4jqE32l4HipvO26iv9W4c0Iss6DenlEatdL1k="; 23 }; 24 ··· 48 "-Wno-format-nonliteral" 49 ]); 50 51 - passthru.updateScript = nix-update-script { }; 52 53 meta = { 54 changelog = "https://github.com/google/cronutils/releases/tag/version%2F${finalAttrs.version}";
··· 18 src = fetchFromGitHub { 19 owner = "google"; 20 repo = "cronutils"; 21 + tag = "version/${finalAttrs.version}"; 22 hash = "sha256-XJksfX4jqE32l4HipvO26iv9W4c0Iss6DenlEatdL1k="; 23 }; 24 ··· 48 "-Wno-format-nonliteral" 49 ]); 50 51 + passthru.updateScript = nix-update-script { 52 + extraArgs = [ 53 + "--version-regex" 54 + "version/(.*)" 55 + ]; 56 + }; 57 58 meta = { 59 changelog = "https://github.com/google/cronutils/releases/tag/version%2F${finalAttrs.version}";