diff options
-rw-r--r-- | guix/import/github.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/import/github.scm b/guix/import/github.scm index b287313d98..e17ef0b840 100644 --- a/guix/import/github.scm +++ b/guix/import/github.scm @@ -98,7 +98,9 @@ false if none is recognized" (updated-url source-uri)) ((source-uri ...) (find updated-url source-uri)))) - ((eq? fetch-method download:git-fetch) + ((and (eq? fetch-method download:git-fetch) + (string-prefix? "https://github.com/" + (download:git-reference-url source-uri))) (download:git-reference-url source-uri)) (else #f)))) |