Re: grafted package and CLI

2022-07-17 Thread bokr
Hi Simon, On +2022-07-07 18:58:41 +0200, zimoun wrote: > Hi, > > On Thu, 07 Jul 2022 at 17:09, Ludovic Courtès wrote: > > > You mean hide with the ‘hidden?’ property? > > I do not know what I mean. ;-) > > The replacement could have an ’hidden?’ property or not being > ’define-public’. >

Re: grafted package and CLI

2022-07-07 Thread zimoun
Hi, On Thu, 07 Jul 2022 at 17:09, Ludovic Courtès wrote: > You mean hide with the ‘hidden?’ property? I do not know what I mean. ;-) The replacement could have an ’hidden?’ property or not being ’define-public’. > Good question. There’s probably little point in exposing the original >

Re: grafted package and CLI

2022-07-07 Thread Ludovic Courtès
zimoun skribis: > Aside, the convention is to make the replacement public for different > versions, so my naive question is: why not hide the replaced version? You mean hide with the ‘hidden?’ property? Good question. There’s probably little point in exposing the original (replaced) version,

Re: grafted package and CLI

2022-07-07 Thread zimoun
Hi, On Thu, 07 Jul 2022 at 10:00, Ludovic Courtès wrote: > Usually, when the replacement is a different version, we make it public, > so it also shows up in ‘guix package -A’. It’s just a convention, but > it’s probably good enough? About “guix package -A”, we cannot do more, so let say it is

Re: grafted package and CLI

2022-07-07 Thread Ludovic Courtès
Hi, zimoun skribis: > Or even, it can be confusing: > > $ guix shell curl@7.79.1 -- curl --version > curl 7.84.0 (x86_64-unknown-linux-gnu) libcurl/7.84.0 GnuTLS/3.7.2 > zlib/1.2.11 libidn2/2.3.1 nghttp2/1.44.0 > Release-Date: 2022-06-27 > [..] > > The issue is

grafted package and CLI

2022-07-04 Thread zimoun
Hi, Commit 3fc6709d4285f44d1e861c7b09951adf3073e898 is a security fixes for the package ’curl’; it reads, --8<---cut here---start->8--- (define-public curl (package (name "curl") (version "7.79.1") + (replacement curl-7.84.0) [...] +;;