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
90
revWithTag = if tag != null then "refs%2Ftags%2F${tag}" else rev;
91
91
92
92
fetcherArgs =
93
93
+
_:
93
94
passthruAttrs
94
95
// (
95
96
if useFetchGit then
···
105
106
;
106
107
url = baseUrl;
107
108
inherit passthru;
109
109
+
derivationArgs = {
110
110
+
inherit
111
111
+
owner
112
112
+
repo
113
113
+
;
114
114
+
};
108
115
}
109
116
else
110
117
{
111
118
url = "${baseUrl}/archive/${revWithTag}";
112
119
extension = "tar.gz";
120
120
+
121
121
+
derivationArgs = {
122
122
+
inherit
123
123
+
owner
124
124
+
repo
125
125
+
;
126
126
+
};
113
127
114
128
passthru = {
115
129
gitRepoUrl = baseUrl;