From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Parameterized packages Date: Wed, 15 Jan 2020 12:43:10 +0100 Message-ID: <87imldhrn5.fsf@ambrevar.xyz> References: <87woitz1xx.fsf@gnu.org> <87o945vze5.fsf@nckx> <8736ldq74z.fsf@netris.org> <20190719202906.lbanx5puk7t6q4cr@cf0> <87a7753boq.fsf@ambrevar.xyz> <87h813wah0.fsf@gnu.org> <87v9piut40.fsf@ambrevar.xyz> <87o8v5ukgb.fsf@ambrevar.xyz> 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]:41984) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irh4w-00025C-Lr for guix-devel@gnu.org; Wed, 15 Jan 2020 06:43:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irh4s-0007SC-FE for guix-devel@gnu.org; Wed, 15 Jan 2020 06:43:18 -0500 In-Reply-To: <87o8v5ukgb.fsf@ambrevar.xyz> 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-mx.org@gnu.org Sender: "Guix-devel" To: zimoun Cc: Guix Devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Another thought: Gentoo has a rather complicated "Atom" syntax to convey which parameter combination is acceptable or not. I found it very hard to use at times. With Guix, I believe we can do better. We can add a #:parameter-predicate field which takes the user parameters and returns a boolean (pass or no pass). This would give us maximal flexibility. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl4e+s4ACgkQm9z0l6S7 zH84mgf/UkqsMv7GeHvHu32+c+fTsnY65tWeFGa3FxDAuCiIrJP7iCcYEnEDakOC AsukXCWTiP6EexsNjrfw4TrMIhBp6sJtgGgeHtGGbd0uCTzNhtMBoy77uUxWPCgf QtBuNoSp+c6viDmfANIhCw/nTg2BoiS+DvjTA2nowl2Ao9GQEkh0+rq15U7O0vbX TfbmcoKupdd3M7YCdmRH86MpJ1pEL+1G6nOSBlfFYISPJackXNrx9NX8bwr3ccXt aJw1RAWypLAX8/RkMmBpsH+I6/3dfrbpT7ikZC6s97jMpiaPVA9zH8Ox1OsWD1Lt LY90Xykp6jOTSgW77xIUujrGVoNN5w== =FXWQ -----END PGP SIGNATURE----- --=-=-=--