From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: [PATCH 1/4] gnu: Separate util-linux into three packages. Date: Fri, 11 Nov 2016 17:40:51 +0100 Message-ID: <5825F493.4000803@crazy-compilers.com> References: <1478812461-18483-1-git-send-email-jmd@gnu.org> <5825D914.6000508@crazy-compilers.com> <20161111160341.GA1935@jocasta.intra> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5Est-0007lH-IM for guix-devel@gnu.org; Fri, 11 Nov 2016 11:41:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c5Esq-0004io-EM for guix-devel@gnu.org; Fri, 11 Nov 2016 11:40:59 -0500 In-Reply-To: <20161111160341.GA1935@jocasta.intra> 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: John Darrington Cc: guix-devel@gnu.org, John Darrington Am 11.11.2016 um 17:03 schrieb John Darrington: > > > +(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. Sorry for not being precise enough. I meant why are us using "inherit" here? I thought (source (package-source util-linux/base)) would suffice and result in the same? -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |