lol

hare: use _experimental-update-script-combinators

+14 -3
-2
pkgs/by-name/ha/hare/package.nix
··· 3 3 stdenv, 4 4 fetchFromSourcehut, 5 5 harec, 6 - gitUpdater, 7 6 scdoc, 8 7 tzdata, 9 8 mailcap, ··· 154 153 ''; 155 154 156 155 passthru = { 157 - updateScript = gitUpdater { }; 158 156 tests = 159 157 lib.optionalAttrs enableCrossCompilation { 160 158 crossCompilation = callPackage ./cross-compilation-tests.nix { hare = finalAttrs.finalPackage; };
+14 -1
pkgs/by-name/ha/harec/package.nix
··· 1 1 { 2 + _experimental-update-script-combinators, 2 3 fetchFromSourcehut, 3 4 gitUpdater, 4 5 lib, ··· 52 53 ''; 53 54 54 55 passthru = { 55 - updateScript = gitUpdater { }; 56 + updateScript = _experimental-update-script-combinators.sequence ( 57 + builtins.map (item: item.command) [ 58 + (gitUpdater { 59 + attrPath = "harec"; 60 + ignoredVersions = [ "-rc[0-9]{1,}" ]; 61 + }) 62 + (gitUpdater { 63 + attrPath = "hare"; 64 + url = "https://git.sr.ht/~sircmpwn/hare"; 65 + ignoredVersions = [ "-rc[0-9]{1,}" ]; 66 + }) 67 + ] 68 + ); 56 69 # To be kept in sync with the hare package. 57 70 inherit qbe; 58 71 };