From mboxrd@z Thu Jan 1 00:00:00 1970 From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) Subject: Re: distinguishing between applications and libraries Date: Mon, 01 Jul 2019 20:24:38 -0400 Message-ID: <87woh18erd.fsf@sdf.lonestar.org> 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]:58253) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hi6uN-0007Gj-Vv for guix-devel@gnu.org; Mon, 01 Jul 2019 20:44:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hi6uK-0005PO-Uu for guix-devel@gnu.org; Mon, 01 Jul 2019 20:44:31 -0400 Received: from mx.sdf.org ([205.166.94.20]:61827) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hi6uE-0005JU-Vt for guix-devel@gnu.org; Mon, 01 Jul 2019 20:44:28 -0400 In-Reply-To: <19D3778D-BA32-41C9-81C9-60ECB4F3BF7E@vllmrt.net> (Robert Vollmert's message of "Sun, 30 Jun 2019 22:05:58 +0200") 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 Hi, Robert and Pierre, Robert Vollmert writes: >> On 30. Jun 2019, at 20:01, Pierre Neidhardt wrote: >>=20 >> Hi Robert! >>=20 >> `guix search` and other user-facing tools ignore non-exported >> packages. >>=20 >> So you can simply use `define` instead of `define-public` to declare >> a package. > > 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? I took a shot at packaging bettercap[1] this weekend but decided to finish it later after realizing how many dependencies would need to be packaged... Ah, how I long for a 'go' importer. But since we're having this conversation now, I'd like to ask: does it make sense to use 'define-public' for dependencies like that? I'd be adding a lot of 'go-github-com-...' packages like those in 'gnu/packages/syncthing.scm'. [1]: https://www.bettercap.org/ Regards, Jakob --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAl0apEcACgkQ9Qb9Fp2P 2VqEvw//SCEQ8sB26TzMLHEan2qMfPiB4WOZo6R92pUNq0gKFS8wR9j4TE1t/qFN OIwVrCeXqhBoeTifvke8HrJJDLwK3LyHX1bBFueTBSnuDAEMBlqaxJ5jehYbYmQb hebUDGqaKqZwKOcnYAp97f2ahSjb5PK0ccDDXknP1nVYd/XgIHXG4VQ4kXbIyvAp QCuOoaxAdJY548JU+YmE6PoIeojnNAHQk8sXp7TSANWlUzdfjCdrASugTbhwXVmP PtqNks2Jir9VQq/mor5i08/VwvXpV9jZ6R/nWoRkUU4EzjhmFySkBocz0HmHoT6t M9vcTsUJatw/Ge2/JAMGv8gRqcgF1GXANpdLntQbHnRpx3Wr0VR2zBJtQx0pz4S8 Gula1idO/MvSQ33+cvGKLKl4VjXLVDebbruMNhDVbvfSp0qOGwF9aBPkoghGqGAs +4pioXOKpSXmm6LHBkEpc1aHqXONDkAftPLR5qlEoF+4zMiDpIUBSHros9xPHxQt Ff+2KfMCCNnaAiMYFCouRBkcT4LTXLoTjqqJjKfBg1Zs0umnnu6cVB1rWU5dK/k6 s7rX3M8U31I1i3f4NWX7qFQNuPoknMSXKkPRexNlPCfNLAV0IUh5xKAEvIkA1ywY Po504IHlShliiAF4RCKZUckIltxQV74XNGxqFvKxIYB+Z/IxFAk= =y/mO -----END PGP SIGNATURE----- --=-=-=--