From 2556f71311f2888cda3caa4d421873fb0168c92d Mon Sep 17 00:00:00 2001 From: corpix Date: Mon, 30 Jan 2023 22:56:29 +0000 Subject: [PATCH] Fix #320 --- nix/racket2nix.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/racket2nix.rkt b/nix/racket2nix.rkt index 71bcbaf..1079afd 100755 --- a/nix/racket2nix.rkt +++ b/nix/racket2nix.rkt @@ -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) "")))