tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
hare: use _experimental-update-script-combinators
Coutinho de Souza
2 years ago
8cd47cdd
b7e1f2fb
+14
-3
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
ha
hare
package.nix
harec
package.nix
-2
pkgs/by-name/ha/hare/package.nix
···
3
3
stdenv,
4
4
fetchFromSourcehut,
5
5
harec,
6
6
-
gitUpdater,
7
6
scdoc,
8
7
tzdata,
9
8
mailcap,
···
154
153
'';
155
154
156
155
passthru = {
157
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
2
+
_experimental-update-script-combinators,
2
3
fetchFromSourcehut,
3
4
gitUpdater,
4
5
lib,
···
52
53
'';
53
54
54
55
passthru = {
55
55
-
updateScript = gitUpdater { };
56
56
+
updateScript = _experimental-update-script-combinators.sequence (
57
57
+
builtins.map (item: item.command) [
58
58
+
(gitUpdater {
59
59
+
attrPath = "harec";
60
60
+
ignoredVersions = [ "-rc[0-9]{1,}" ];
61
61
+
})
62
62
+
(gitUpdater {
63
63
+
attrPath = "hare";
64
64
+
url = "https://git.sr.ht/~sircmpwn/hare";
65
65
+
ignoredVersions = [ "-rc[0-9]{1,}" ];
66
66
+
})
67
67
+
]
68
68
+
);
56
69
# To be kept in sync with the hare package.
57
70
inherit qbe;
58
71
};