Subject: [bug#42354] [PATCH] gnu: open-adventure: Update to 1.8.

From: Ludovic Courtès <[email-masked]>
Date: Thu, 10 Sep 2020 09:46:26 +0200

Hi,

Nicolas Goaziou <[email-masked]> skribis:

>> Yes, see ‘deprecated-package’.
>>
>> HTH!
>
> But you cannot deprecate a specific version of a package with this
> function, or can you?

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 [email-masked]” will emit a deprecation
warning and install the other one.

HTH!

Ludo’.