From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Tiny Guix (and containers) Date: Tue, 07 Nov 2017 11:19:29 +0100 Message-ID: <87tvy69yry.fsf@gnu.org> References: <20171025081846.GA28005@thebird.nl> <87mv4emlwf.fsf@elephly.net> <20171026104259.GA2179@thebird.nl> <87r2tn3ulq.fsf@gnu.org> <878tfr7667.fsf@albion.it.manchester.ac.uk> <87o9ogr9wl.fsf@gnu.org> <87lgjjwgvs.fsf@albion.it.manchester.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eC0yr-0003k9-6t for guix-devel@gnu.org; Tue, 07 Nov 2017 05:19:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eC0yq-0001hY-5Z for guix-devel@gnu.org; Tue, 07 Nov 2017 05:19:41 -0500 In-Reply-To: <87lgjjwgvs.fsf@albion.it.manchester.ac.uk> (Dave Love's message of "Mon, 06 Nov 2017 15:45:11 +0000") 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: Dave Love Cc: guix-devel@gnu.org Dave Love skribis: > Ludovic Court=C3=A8s writes: > >>> It looks to me as if it would often help significantly, e.g. when a >>> pkg-config file, or something else sucks in a load of stuff that's >>> irrelevant for running the package. (Separating :lib and needing that >>> for building means you need to know something about the packaging rather >>> than just using "devel", say.) >> >> Right, good point. >> >> The nice thing with =E2=80=9Clib=E2=80=9D and =E2=80=9Cdoc=E2=80=9D is t= hat it has a direct mapping to >> the GNU directory classification (libdir, docdir, etc.) > > Sure, though there's typically a distinction between lib and, say, > lib64, I=E2=80=99m talking about the classification, not about specific choices li= ke lib vs. lib64. >> Now, we could depart from it and go with =E2=80=9Cdevel=E2=80=9D, for th= e reasons you >> give. Let=E2=80=99s experiment and see how it goes! > > Good to hear as an experimentalist! :-) > I wonder how much practical experience people have with conventional > packaging and the resulting trades-off, e.g. as Debian, Fedora, > etc. maintainers. I think it helps to understand that reasonably well. > I'm happy to explain to the extent I can if it helps. I'm more familiar > with Fedora, but then Debian is usually easier. I think your expertise is most welcome here. Not everything will have a direct mapping to Guix, but surely we can build upon the experience of other distros. For information on what Nixpkgs does with some of its packages, see also: https://nixos.org/nixpkgs/manual/#chap-multiple-output AFAIK this remains an opt-in mechanism, pretty much like in Guix. Their early experience can be read here: https://nixos.org/nix-dev/2016-April/020154.html Ludo=E2=80=99.