From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Re: [PATCH 1/4] gnu: Separate util-linux into three packages. Date: Fri, 11 Nov 2016 20:36:23 +0100 Message-ID: <20161111193623.GA4095@jocasta.intra> References: <1478812461-18483-1-git-send-email-jmd@gnu.org> <5825D914.6000508@crazy-compilers.com> <20161111160341.GA1935@jocasta.intra> <5825F493.4000803@crazy-compilers.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5Hcq-0004DO-M3 for guix-devel@gnu.org; Fri, 11 Nov 2016 14:36:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c5Hcp-0004xO-TY for guix-devel@gnu.org; Fri, 11 Nov 2016 14:36:36 -0500 Content-Disposition: inline In-Reply-To: <5825F493.4000803@crazy-compilers.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel@gnu.org, John Darrington --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 11, 2016 at 05:40:51PM +0100, Hartmut Goebel wrote: Am 11.11.2016 um 17:03 schrieb John Darrington: > =20 > > +(define-public util-linux > > + (package > > + (inherit util-linux/base) > > + (name "util-linux") > > + (source (origin (inherit (package-source util-linux/base= )))) > =20 > I'm curious: Why do you need to inherit the package-source here? > =20 > > Well I don't actually *need* to. I could have copied it. But I tho= ught that > having 3 copies would make maintenance difficult---somebody might up= date one, > but forget the other two. =20 Sorry for not being precise enough. I meant why are us using "inherit" here? I thought =20 (source (package-source util-linux/base)) =20 would suffice and result in the same? =20 You're right. Thanks for the suggestion. J' --=20 Avoid eavesdropping. Send strong encrypted email. PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlgmHbcACgkQimdxnC3oJ7OcTwCfchH5sjWH6wflykWXUscq/fcx SxEAn0sRow0WCTvivx/JbHyqkz+D66St =9VKO -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE--