From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: git / grep with pcre support? Date: Wed, 06 Nov 2019 11:01:19 +0100 Message-ID: <877e4ds4r4.fsf@ambrevar.xyz> References: <878staujbv.fsf@ambrevar.xyz> <20190708064807.GI1085@macbook41> <877e8s1qin.fsf@nckx> <8736jctvkl.fsf@gnu.org> <87y3148san.fsf@ambrevar.xyz> <87k18m6vm5.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]:36775) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSI83-0003cw-QE for guix-devel@gnu.org; Wed, 06 Nov 2019 05:01:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSI7y-0002Xl-5g for guix-devel@gnu.org; Wed, 06 Nov 2019 05:01:31 -0500 In-Reply-To: <87k18m6vm5.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.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Tobias Geerinckx-Rice Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > I've sent patch 37994 for git. It's on master. > For grep: > actually our `grep' package has pcre support. > It's grep-final which doesn't: > > --8<---------------cut here---------------start------------->8--- > (define grep-final > ;; The final grep. Gzip holds a reference to it (via zgrep), so it mus= t be > ;; built before gzip. > (let ((grep (with-boot5 (package-with-bootstrap-guile grep)))) > (package/inherit grep > (inputs (alist-delete "pcre" (package-inputs grep))) > (native-inputs `(("perl" ,perl-boot0)))))) > --8<---------------cut here---------------end--------------->8--- > > Is there a reason for removing pcre here? > It does not add more than 2 MiB to the closure size. Maybe a graph > simplification issue? Any thought on the above? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3Cme8ACgkQm9z0l6S7 zH9sQgf/Q6Nt/xq32U+XVdss4mgMe4HsfauP3M1zJaSU2Jx/dZz7OQ6+1YJpLyJT 8HEsAwQ1o5eejzA6SRqNBPuqiFHAffN+RIQOssv9iAtuyO3wky1yDBBIcHJfGqRg RvPCcZXUMV2pnqi/3/XGxDYoFMpPiVieIIsI9uB+EUuHyqKsdXmXLriQIWMEZLox Jt6mQvhK2oAcPmnR68C17B+HvW6duIcOIsA8dOie4hE/4kIaIGd2ybr8yvxGgrFS qnoBmU8tx2z8S4HVmXnm61gNJ+uw25dYzHmven5jr+vEZbKx7pa0fftQEWmyXD+q M3pJb/h2CjiC+newXqpOzbILL4FSDA== =QqvE -----END PGP SIGNATURE----- --=-=-=--