From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: distinguishing between applications and libraries Date: Mon, 1 Jul 2019 10:30:00 +0200 Message-ID: <20190701102955.3250175f@scratchpost.org> References: <0E655A03-834C-4219-8956-D69CF4C6A444@vllmrt.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/57DVK5LcOP+50R0DPY.xrbh"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36727) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhric-0008Mv-Hl for guix-devel@gnu.org; Mon, 01 Jul 2019 04:31:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hhriZ-0001aa-FG for guix-devel@gnu.org; Mon, 01 Jul 2019 04:31:22 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:42150) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hhrhc-00011J-6b for guix-devel@gnu.org; Mon, 01 Jul 2019 04:31:14 -0400 In-Reply-To: <0E655A03-834C-4219-8956-D69CF4C6A444@vllmrt.net> 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: Robert Vollmert Cc: guix-devel@gnu.org --Sig_/57DVK5LcOP+50R0DPY.xrbh Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, On Sun, 30 Jun 2019 19:33:55 +0200 Robert Vollmert wrote: > Has it been considered to track applications and libraries > separately? Along the lines of: >=20 > - package definitions could have a `type` field, or a `library` > flag or similar There are also a lot of packages which provide both a library and an application. > - `guix search` would ignore library packages by default Well in the end it just depends whether the derivation has things in "bin" = or not, right? Long term, we should have something like Debian's command-not-found handler which automatically searches for the packages that would contain the command if trying to invoke one which isn't installed. In fact, why not *use* Debian's command-not-found handler. --Sig_/57DVK5LcOP+50R0DPY.xrbh Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl0ZxIgACgkQ5xo1VCww uqV4HQgAkAJiJlXXiVfKaRYqcpehJrbGIfG9oqUnSXZvWfZm6rdbKLiW9K8glE9k 47CVlyromzrX37cq3YnYkoJ4naRmt0sgMk7dYb0LASWE/HRzGNDJ07udS8pi3rbB bfWZvQ0A4fXKQoragDGPJJvneTwuBSu8H0DkJQFo8FDlH7keHKGtX0jwhu1ovvZt i4gO548lPBSr8G/FK7NI8vRRYbHGP78qmFtKiln3q37O2JOzveeJ1KUffJvmE+iO iWqjSfOHNkcczum7fFCNXbjptPmQ3krMYxH2ZdEJc6m+LZSHBrEf21zEwJf1wmaE xQcB6dL0xB2IfjdHlueuGnoInP/qKQ== =zpA0 -----END PGP SIGNATURE----- --Sig_/57DVK5LcOP+50R0DPY.xrbh--