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 owner and repo via derviationArgs
isabelroses.com
4 months ago
417b29aa
6b88fc23
+14
1 changed file
expand all
collapse all
unified
split
fetcher.nix
+14
fetcher.nix
···
90
revWithTag = if tag != null then "refs%2Ftags%2F${tag}" else rev;
91
92
fetcherArgs =
0
93
passthruAttrs
94
// (
95
if useFetchGit then
···
105
;
106
url = baseUrl;
107
inherit passthru;
0
0
0
0
0
0
108
}
109
else
110
{
111
url = "${baseUrl}/archive/${revWithTag}";
112
extension = "tar.gz";
0
0
0
0
0
0
0
113
114
passthru = {
115
gitRepoUrl = baseUrl;
···
90
revWithTag = if tag != null then "refs%2Ftags%2F${tag}" else rev;
91
92
fetcherArgs =
93
+
_:
94
passthruAttrs
95
// (
96
if useFetchGit then
···
106
;
107
url = baseUrl;
108
inherit passthru;
109
+
derivationArgs = {
110
+
inherit
111
+
owner
112
+
repo
113
+
;
114
+
};
115
}
116
else
117
{
118
url = "${baseUrl}/archive/${revWithTag}";
119
extension = "tar.gz";
120
+
121
+
derivationArgs = {
122
+
inherit
123
+
owner
124
+
repo
125
+
;
126
+
};
127
128
passthru = {
129
gitRepoUrl = baseUrl;