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


Message #23 received at 42354 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 42354 <at> debbugs.gnu.org
Subject: Re: [bug#42354] [PATCH] gnu: open-adventure: Update to 1.8.
Date: Thu, 10 Sep 2020 09:46:26 +0200
Hi,

Nicolas Goaziou <mail <at> nicolasgoaziou.fr> 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 open-adventure <at> 1.8” will emit a deprecation
warning and install the other one.

HTH!

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.