GNU bug report logs - #42354
[PATCH] gnu: open-adventure: Update to 1.8.

Previous Next

Package: guix-patches;

Reported by: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Date: Tue, 14 Jul 2020 14:45:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 42354 <at> debbugs.gnu.org
Subject: [bug#42354] [PATCH] gnu: open-adventure: Update to 1.8.
Date: Sun, 13 Sep 2020 22:58:03 +0200
Hi,

Nicolas Goaziou <mail <at> nicolasgoaziou.fr> skribis:

> Ludovic Courtès <ludo <at> gnu.org> writes:
>
>> Ah well, not exactly with this function, you’re right, but I think you
>> can do something like:
>>
>>   (define-public open-adventure-1.8
>>     (package
>>       (inherit open-adventure)
>>       (version "1.8")
>>       (properties `((superseded . ,open-adventure)))))
>>
>> That way “guix install open-adventure <at> 1.8” will emit a deprecation
>> warning and install the other one.
>
> Thank you. However, wouldn't this do the exact opposite to what we want
> to achieve?
>
> We want to
> - "guix install open-adventure" and get open-adventure 1.8, not 2.5,
> - "guix upgrade open-adventure" and have open-adventure 1.8 override
>   2.5.
>
> Do you mean this instead?
>
>    (define-public open-adventure-2.5
>      (package
>        (inherit open-adventure)
>        (version "1.8")
                   ^
Should be 2.5.

>        (properties `((superseded . ,open-adventure)))))

That way, “guix upgrade open-adventure” will “downgrade” to 1.8 if
you currently have 2.5.

Ludo’.




This bug report was last modified 4 years and 180 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.