From 3629f991f143cdb50bd1ed3380c74afdc45871a9 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 21 Mar 2023 08:27:22 -0300 Subject: Use stripped "-latest" name in package official name too --- src/bin/paku | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/bin') 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 -- cgit v1.2.3