GNU bug report logs -
#42354
[PATCH] gnu: open-adventure: Update to 1.8.
Previous Next
Full log
View this message in rfc822 format
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.