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/bin | |
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/bin')
-rwxr-xr-x | src/bin/paku | 5 |
1 files changed, 4 insertions, 1 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 |