From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: Add Augeas. Date: Thu, 3 Mar 2016 22:03:27 -0500 Message-ID: <20160304030327.GB30676@jasmine> References: <20160122202934.GB27435@jasmine> <87d1sexhfx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abg1c-0005JF-F9 for guix-devel@gnu.org; Thu, 03 Mar 2016 22:03:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abg1Y-0007y8-CQ for guix-devel@gnu.org; Thu, 03 Mar 2016 22:03:32 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:40198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abg1Y-0007xy-8w for guix-devel@gnu.org; Thu, 03 Mar 2016 22:03:28 -0500 Content-Disposition: inline In-Reply-To: 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: guix-devel On Thu, Mar 03, 2016 at 05:16:05PM +0100, Ricardo Wurmus wrote: > > Ludovic Courtès writes: > > > Ricardo Wurmus skribis: > > > >> Leo Famulari writes: > >> > >>>> + (build-system gnu-build-system) > >>>> + ;; Marked as "required" in augeas.pc > >>>> + (propagated-inputs > >>>> + `(("libxml2" ,libxml2))) > > > > I find it clearer to put the comment right below ‘propagated-inputs’. > > > >>> Is there really no way to avoid this? > >> > >> I don’t know. > > > > The problem is that I don’t think it works to put an absolute file name > > in the ‘Requires’ field of a ‘.pc’ file, so I don’t think we can avoid > > it unfortunately. > > > > However, since Augeas is a library, the propagated input is acceptable: > > in practice, people probably won’t have it in their main environment, > > but rather in a ‘guix environment’ thing, or in a dedicated development > > profile. > > Augeas is both a library and a command line tool. For a command line > tool propagation is ugly and I’d like to avoid it. > > What should I best do in this case? What is the effect of a wrapper compared to propagation? My understanding is that the wrapped environment is only visible to the wrapped binary. Is that correct? If so, it seems less intrusive to the user's profile. > > ~~ Ricardo