[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42354] [PATCH] gnu: open-adventure: Update to 1.8.
From: |
Ludovic Courtès |
Subject: |
[bug#42354] [PATCH] gnu: open-adventure: Update to 1.8. |
Date: |
Sun, 13 Sep 2020 22:58:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi,
Nicolas Goaziou <mail@nicolasgoaziou.fr> skribis:
> Ludovic Courtès <ludo@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@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’.