tangled
alpha
login
or
join now
isabelroses.com
/
fetch-tangled
21
fork
atom
this repo has no description
21
fork
atom
overview
issues
pulls
1
pipelines
feat: pass rev uniformly
isabelroses.com
4 months ago
0d022ea7
7e315fcd
+9
-6
1 changed file
expand all
collapse all
unified
split
fetcher.nix
+9
-6
fetcher.nix
···
87
87
else
88
88
fetchzip;
89
89
90
90
-
revWithTag = if tag != null then "refs%2Ftags%2F${tag}" else rev;
91
91
-
92
90
fetcherArgs =
93
93
-
_:
91
91
+
finalAttrs:
94
92
passthruAttrs
95
93
// (
96
94
if useFetchGit then
···
114
112
};
115
113
}
116
114
else
115
115
+
let
116
116
+
revWithTag = finalAttrs.rev;
117
117
+
in
117
118
{
118
119
url = "${baseUrl}/archive/${revWithTag}";
119
120
extension = "tar.gz";
···
124
125
repo
125
126
tag
126
127
;
128
128
+
rev = fetchgit.getRevWithTag {
129
129
+
inherit (finalAttrs) tag;
130
130
+
rev = finalAttrs.revCustom;
131
131
+
};
132
132
+
revCustom = rev;
127
133
};
128
134
129
135
passthru = {
···
139
145
in
140
146
141
147
fetcher fetcherArgs
142
142
-
// {
143
143
-
rev = revWithTag;
144
144
-
}
145
148
)