diff options
author | EuAndreh <eu@euandre.org> | 2023-03-21 08:27:22 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-21 08:27:22 -0300 |
commit | 3629f991f143cdb50bd1ed3380c74afdc45871a9 (patch) | |
tree | 991fad2ce6c9a15c8c57ecc32b19d90a98b166bf /src | |
parent | Big revamp of paku(1): now in Perl, genating Debian packages (diff) | |
download | package-repository-3629f991f143cdb50bd1ed3380c74afdc45871a9.tar.gz package-repository-3629f991f143cdb50bd1ed3380c74afdc45871a9.tar.xz |
Use stripped "-latest" name in package official name too
Diffstat (limited to 'src')
-rwxr-xr-x | src/bin/paku | 5 | ||||
-rw-r--r-- | src/org/euandre/packages.scm | 10 |
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 |