From dd6976dd75ca97572e0e88a6be2e550fb0824c68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 26 Aug 2019 21:34:40 +0200 Subject: [PATCH] import: github: 'github-package?' uses 'package-upstream-name'. * guix/import/github.scm (updated-github-url): Use 'package-upstream-name' instead of 'package-name'. This allows 'github-package?' to match more packages, given an appropriate upstream name. --- guix/import/github.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/import/github.scm b/guix/import/github.scm index fa23fa4c06..55e1f72a42 100644 --- a/guix/import/github.scm +++ b/guix/import/github.scm @@ -49,7 +49,7 @@ false if none is recognized" (define (updated-url url) (if (string-prefix? "https://github.com/" url) (let ((ext (or (find-extension url) "")) - (name (package-name old-package)) + (name (package-upstream-name old-package)) (version (package-version old-package)) (prefix (string-append "https://github.com/" (github-user-slash-repository url)))