Skip to content

Commit 2d9f7a1

Browse files
committed
removed overriding of GitHub flake type
1 parent 174ba55 commit 2d9f7a1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

nix/flake/flakeref.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,6 @@ func parseURLRef(ref string) (parsed Ref, fragment string, err error) {
238238
func parseGitRef(refURL *url.URL, parsed *Ref) error {
239239
// github:<owner>/<repo>(/<rev-or-ref>)?(\?<params>)?
240240

241-
parsed.Type = TypeGitHub
242-
243241
// Only split up to 3 times (owner, repo, ref/rev) so that we handle
244242
// refs that have slashes in them. For example,
245243
// "github:jetify-com/devbox/gcurtis/flakeref" parses as "gcurtis/flakeref".

0 commit comments

Comments
 (0)