aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/bin/paku5
-rw-r--r--src/org/euandre/packages.scm10
2 files changed, 12 insertions, 3 deletions
diff --git a/src/bin/paku b/src/bin/paku
index eb89c47..82e1572 100755
--- a/src/bin/paku
+++ b/src/bin/paku
@@ -296,7 +296,10 @@ if ($action eq 'guix') {
# FIXME: parameterize license
if ($version->{type} eq 'latest') {
print <<~EOF;
- (define-public $package->{name} $package->{name}-latest)
+ (define-public $package->{name}
+ (package
+ (inherit $package->{name}-latest)
+ (name "$package->{name}")))
EOF
diff --git a/src/org/euandre/packages.scm b/src/org/euandre/packages.scm
index be54ceb..772086b 100644
--- a/src/org/euandre/packages.scm
+++ b/src/org/euandre/packages.scm
@@ -119,7 +119,10 @@ file in the repository.")
(home-page "https://euandre.org/s/td/")
(license license:agpl3+)))
-(define-public td td-latest)
+(define-public td
+ (package
+ (inherit td-latest)
+ (name "td")))
(define-public guile-heredoc-latest
@@ -150,7 +153,10 @@ file in the repository.")
(home-page "https://euandre.org/s/guile-heredoc/")
(license license:agpl3+)))
-(define-public guile-heredoc guile-heredoc-latest)
+(define-public guile-heredoc
+ (package
+ (inherit guile-heredoc-latest)
+ (name "guile-heredoc")))
(list