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 20:01:35 +0200 Message-ID: <874l47hs00.fsf@ambrevar.xyz> References: <0E655A03-834C-4219-8956-D69CF4C6A444@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]:35021) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhe93-00049k-ES for guix-devel@gnu.org; Sun, 30 Jun 2019 14:01:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hhe92-0006on-C7 for guix-devel@gnu.org; Sun, 30 Jun 2019 14:01:45 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:38223) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hhe92-0006hU-4N for guix-devel@gnu.org; Sun, 30 Jun 2019 14:01:44 -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 , guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Robert! `guix search` and other user-facing tools ignore non-exported packages. So you can simply use `define` instead of `define-public` to declare a package. For instance: =2D-8<---------------cut here---------------start------------->8--- (define my-package ... ) =2D-8<---------------cut here---------------end--------------->8--- > - maybe there=E2=80=99s some other simplifications to make in library > package definitions? I=E2=80=99d be happy to not copy over a > long description that no-one=E2=80=99s ever going to read. :) The description does not have to be long, in fact it can be just one line, but it just explain what the package is here for. Even if it is not exposed to the user, package maintainers will want to know why it's here. Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl0Y+P8ACgkQm9z0l6S7 zH8sRggAr5uJUGsiEUJkrQJ97YWIMWQFrAGLUJA4xgfBAJKkacFOyK7fKX1ChW1p rtp8287sO+esi/TeFwOhk9J43o8g8hR0GqsY6JbZ6qNoLNrD0tGFwsmIEoO1E7uQ v8E4RBmeDJ4AvzYx8zlq2aLDkWHEX76dcXGdvSyVSOyD7t8C6uHCdXL3v0lYqQiM ZvlQfkSeuDClOEvEs+y8hFxg2d5eqbajhNpM47wmVk43rEkYwdIIJcL58BJHa5d1 uTChyFNUs8Lv/ZO9dv/6QLuEXuwNNIpsWuJt5QDWd3Hm2EAUTAPwYDTP6SeJbS5l IQtIyY9dGD1igchPYQEIgvX+HtS/xA== =luBx -----END PGP SIGNATURE----- --=-=-=--