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
stdenv,
4
fetchFromSourcehut,
5
harec,
6
-
gitUpdater,
7
scdoc,
8
tzdata,
9
mailcap,
···
154
'';
155
156
passthru = {
157
-
updateScript = gitUpdater { };
158
tests =
159
lib.optionalAttrs enableCrossCompilation {
160
crossCompilation = callPackage ./cross-compilation-tests.nix { hare = finalAttrs.finalPackage; };
···
3
stdenv,
4
fetchFromSourcehut,
5
harec,
0
6
scdoc,
7
tzdata,
8
mailcap,
···
153
'';
154
155
passthru = {
0
156
tests =
157
lib.optionalAttrs enableCrossCompilation {
158
crossCompilation = callPackage ./cross-compilation-tests.nix { hare = finalAttrs.finalPackage; };
+14
-1
pkgs/by-name/ha/harec/package.nix
···
1
{
0
2
fetchFromSourcehut,
3
gitUpdater,
4
lib,
···
52
'';
53
54
passthru = {
55
-
updateScript = gitUpdater { };
0
0
0
0
0
0
0
0
0
0
0
0
56
# To be kept in sync with the hare package.
57
inherit qbe;
58
};
···
1
{
2
+
_experimental-update-script-combinators,
3
fetchFromSourcehut,
4
gitUpdater,
5
lib,
···
53
'';
54
55
passthru = {
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
+
);
69
# To be kept in sync with the hare package.
70
inherit qbe;
71
};