Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
corpix authored Jan 30, 2023
1 parent 3c3c217 commit 2556f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/racket2nix.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ EOM
[(regexp #rx"^[^:]*://github.com/([^/]*)/([^/]*)/tree/([^?]*)([?]path=(.*))?$"
(list _ user repo rev _ maybe-path))
(list user repo rev maybe-path)]))
(~a "git://github.com/" user "/" repo ".git"
(~a "https://github.com/" user "/" repo ".git"
(if (and maybe-path (> (string-length maybe-path) 0)) (~a "?path=" maybe-path) "")
(if maybe-rev (~a "#" maybe-rev) "")))

Expand Down

0 comments on commit 2556f71

Please sign in to comment.