aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDariqq <dariqq@posteo.net>2024-06-23 08:03:26 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2024-07-06 12:07:11 +0200
commit1ace18d351bf0253cb2ef27abbd75e413fd119d0 (patch)
tree0bf23ca0c95ab9783045f9082aa9dc998aba2955
parent6eb19661c5202fdc2e6b27bb078ba4e528f3b984 (diff)
downloadguix-1ace18d351bf0253cb2ef27abbd75e413fd119d0.tar.gz
guix-1ace18d351bf0253cb2ef27abbd75e413fd119d0.zip
import: github: Honor upstream-name property.
* guix/import/github.scm (import-release): Use package-upstream-name instead of package-name. Change-Id: I9a4999a01156ce02584270837ceab70996b49106 Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--guix/import/github.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/github.scm b/guix/import/github.scm
index c5556d78ee..7be29ca151 100644
--- a/guix/import/github.scm
+++ b/guix/import/github.scm
@@ -327,7 +327,7 @@ Optionally include a VERSION string to fetch a specific version."
(let* ((original-uri (origin-uri (package-source pkg)))
(source-uri (github-uri original-uri))
- (name (package-name pkg))
+ (name (package-upstream-name pkg))
(newest-version version-tag
(latest-released-version source-uri name
#:version version)))