guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/4] gnu: Separate util-linux into three packages.


From: John Darrington
Subject: Re: [PATCH 1/4] gnu: Separate util-linux into three packages.
Date: Fri, 11 Nov 2016 17:03:41 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Nov 11, 2016 at 03:43:32PM +0100, Hartmut Goebel wrote:
     Am 10.11.2016 um 22:14 schrieb John Darrington:
     > +(define-public util-linux/base
     >    (package
     > -    (name "util-linux")
     > +    (name "util-linux-base")
     
     I'm in favour of naming the variable as the package. This eases using them.

I tried that.  It seems that there is a precident to use /variant  for the 
variable.
However / is not permitted in the name
     
     > +(define-public util-linux
     > +  (package
     > +    (inherit util-linux/base)
     > +    (name "util-linux")
     > +    (source (origin (inherit (package-source util-linux/base))))
     
     I'm curious: Why do you need to inherit the package-source here?
     

Well I don't actually *need* to.  I could have copied it.  But I thought that
having 3 copies would make maintenance difficult---somebody might update one,
but forget the other two.
     

-- 
Avoid eavesdropping.  Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]