From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5dhC-0002BE-Li for guix-patches@gnu.org; Fri, 20 Oct 2017 16:15:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5dh8-0004To-Lh for guix-patches@gnu.org; Fri, 20 Oct 2017 16:15:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44130) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e5dh8-0004Tj-Ha for guix-patches@gnu.org; Fri, 20 Oct 2017 16:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e5dh8-0005Eu-9G for guix-patches@gnu.org; Fri, 20 Oct 2017 16:15:02 -0400 Subject: [bug#28690] provide a lib output for boost Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87d164b36m.fsf@albion.it.manchester.ac.uk> <874lr6w02b.fsf@gnu.org> <87shefmmm1.fsf@albion.it.manchester.ac.uk> <87infauga6.fsf@gnu.org> <87wp3pkdh8.fsf@albion.it.manchester.ac.uk> Date: Fri, 20 Oct 2017 22:14:26 +0200 In-Reply-To: <87wp3pkdh8.fsf@albion.it.manchester.ac.uk> (Dave Love's message of "Fri, 20 Oct 2017 17:09:39 +0100") Message-ID: <87h8utd1b1.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Dave Love Cc: 28690@debbugs.gnu.org, Thomas Danckaert Dave Love skribis: > Ludovic Court=C3=A8s writes: > >> The choice was made to allow package definitions to explicitly state >> which outputs of their dependencies they=E2=80=99re interested in. So i= t you >> have >> >> `("boost" ,boost) >> >> that=E2=80=99s only boost:out; if you have: >> >> `("boost" ,boost "lib") >> >> that=E2=80=99s only boost:lib. If you want both, you need to specify bo= th. >> >> So far I don=E2=80=99t think this was considered a problem; on the contr= ary, you >> could get fine-grain control, as in glib:out vs. glib:bin. In this >> particular case, I agree that it=E2=80=99s annoying to have to specify b= oth. >> >> If this =E2=80=9Cparticular case=E2=80=9D happens to be common enough, w= e can always >> revisit the above decision and chance `("boost" ,boost) to mean =E2=80= =9Call the >> outputs of boost.=E2=80=9D > > It looks to me that it will be common if you want to reduce closures. > Also, in other distributions you know that you can build-depend on the > -dev(el) package and get what you need without having to know about > various sub-packages (outputs), and the runtime requirements should be > minimal (although there are sometimes problems with unnecessary > dependencies). As far as I know, Guix doesn't have an easy way to find > what provides particular files to determine the inputs. Yeah, you may be right. Nixpkgs took that route when they introduced multiple outputs not long ago. Well, something to experiment with I guess! Thanks, Ludo=E2=80=99.