From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: distinguishing between applications and libraries Date: Sun, 30 Jun 2019 23:20:27 +0200 Message-ID: <87tvc6hisk.fsf@ambrevar.xyz> References: <0E655A03-834C-4219-8956-D69CF4C6A444@vllmrt.net> <874l47hs00.fsf@ambrevar.xyz> <19D3778D-BA32-41C9-81C9-60ECB4F3BF7E@vllmrt.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42056) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhhFV-0006eH-Eb for guix-devel@gnu.org; Sun, 30 Jun 2019 17:20:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hhhFT-00031d-TC for guix-devel@gnu.org; Sun, 30 Jun 2019 17:20:37 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:54311) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hhhFT-0002xw-2Z for guix-devel@gnu.org; Sun, 30 Jun 2019 17:20:35 -0400 In-Reply-To: <19D3778D-BA32-41C9-81C9-60ECB4F3BF7E@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 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Robert Vollmert writes: > Good point, but that breaks down once a library is used by a package > outside that module. E.g. consider the various ghc-* packages. Running > =E2=80=9Cguix search clock=E2=80=9D returns `ghc-clock` and `ocaml-mtime`= . The first > needs to be public since it=E2=80=99s used elsewhere, the second is defin= ed > as public anyway. Should that change? If you need to depend on a non-exported package, you can still access it with (@@ (gnu packages my-module) my-package) > Well the real reason why it=E2=80=99s there lies in its reverse dependenc= ies, no? A library always does something, so this is what you need to explain in the description. Unfortunately some authors don't always provide any description for their work, in which case you might have to look at the source :p =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl0ZJ5sACgkQm9z0l6S7 zH9ebwgAgkfEkcAcCUR7jb3ygusFUJLiK7lAQ6dimD06cR1RHVxqPm2DvmjxwpeD 2pioRUpBIOa36/HyvU7k3M9V+1SD3f2KkLDWtg7G4nwPv9GGlANIMVbg/MBmfXiX efZJuRL/iXiXNdgQmP0fHEpm7C/U5C9rr0+Pb84mRl5L65cp5DQ/4SufWmPGjX8t 65OD+ob5Q16QlCItABg8biAHB9tmhIXOT4N1p+ar4JjeYcvJSXK1r8/bDSxD92lp L9L3B7kXFkBMe80it4ifiiV2jvrDl2qVIrrvc0tfovdmo6iDQhJzFG/OGL/Q2VOl Fnp5VOoUtv07zGvfQhd8qBMVupPqQg== =xCbT -----END PGP SIGNATURE----- --=-=-=--