From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:53639) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuMcZ-0004kw-T6 for guix-patches@gnu.org; Wed, 22 Jan 2020 15:29:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuMcY-0005O9-KZ for guix-patches@gnu.org; Wed, 22 Jan 2020 15:29:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45432) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iuMcY-0005O3-CG for guix-patches@gnu.org; Wed, 22 Jan 2020 15:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iuMcY-0000lL-9y for guix-patches@gnu.org; Wed, 22 Jan 2020 15:29:02 -0500 Subject: [bug#39146] [PATCH v2] gnu: icecat: Remove about:buildconfig store references. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20200122201313.27946-1-me@tobias.gr> References: <20200115222115.322ymuuqkwlnbl3v@zdrowyportier.kadziolka.net> <20200122201313.27946-1-me@tobias.gr> Date: Wed, 22 Jan 2020 21:28:02 +0100 Message-ID: <87iml3tewd.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Tobias Geerinckx-Rice , 39146@debbugs.gnu.org Cc: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice via Guix-patches via writes: > * gnu/packages/gnuzilla.scm (icecat)[arguments]: > New =E2=80=98neutralise-store-references=E2=80=99 phase. [...] > + (add-after 'build 'neutralise-store-references > + (lambda _ > + ;; Mangle the store references to compilers & other build t= ools in > + ;; about:buildconfig, reducing IceCat's closure by 1 GiB on= x86-64. > + (substitute* > + "dist/bin/chrome/toolkit/content/global/buildconfig.htm= l" > + (((format #f "(~a/)([0-9a-z]{32})" (%store-directory)) _ = store hash) > + (string-append store (string-take hash 8) "=E2=80=A6"))) > + #t)) Is it possible to use 'remove-store-references' here? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4osFIACgkQoqBt8qM6 VPpPSggAtfT+Ay2M/a40/o23/yJ0WEEr/6NA/mqWB1FWZzrvexmdO/9z8rn1ETgP Q61LFHsJnxIP7hVNid0fU6lYZ93d8WOYdMuhcE/AGNYRJ9OVLHiQX6LSQ86ed9he 8eNGWqAlQiGpsnNIt13L16VxtpDpdp89K9C81tlkdEJ8dnTsTMRmGnrxy6kg9rnX PEktHZEqp1nz+49p8wq4Gzc4zH2rVIWMbTDWPI/Tv6PifMrKMleS35c+jE5FkbLv 4LRVhL5Mr4qZlV+3CobRfNU7QO/oTjfpLOcfJTJoi5H/1eeUTxlaPZOtTtElDqgc jAWQ5MTYsNVIXQd630Jajn1Bzi/9kQ== =58ZN -----END PGP SIGNATURE----- --=-=-=--