From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:35635) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irr35-0000fs-J8 for guix-patches@gnu.org; Wed, 15 Jan 2020 17:22:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irr34-0006pl-EG for guix-patches@gnu.org; Wed, 15 Jan 2020 17:22:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58697) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1irr34-0006pe-AF for guix-patches@gnu.org; Wed, 15 Jan 2020 17:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1irr34-0005zJ-6p for guix-patches@gnu.org; Wed, 15 Jan 2020 17:22:02 -0500 Subject: [bug#39146] [PATCH] gnu: icecat: Remove compiler paths from about:buildconfig Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:35559) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irr2O-0000NV-PV for guix-patches@gnu.org; Wed, 15 Jan 2020 17:21:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irr2N-0006NP-OO for guix-patches@gnu.org; Wed, 15 Jan 2020 17:21:20 -0500 Received: from pat.zlotemysli.pl ([37.59.186.212]:39754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1irr2N-0006MG-EK for guix-patches@gnu.org; Wed, 15 Jan 2020 17:21:19 -0500 Date: Wed, 15 Jan 2020 23:21:15 +0100 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Message-ID: <20200115222115.322ymuuqkwlnbl3v@zdrowyportier.kadziolka.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: 39146@debbugs.gnu.org * gnu/packages/gnuzilla.scm (icecat)[arguments](dont-store-compiler-paths): New phase. --- gnu/packages/gnuzilla.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index c619cd5d55..ae155e51ba 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -890,6 +890,16 @@ from forcing GEXP-PROMISE." (substitute* '("browser/confvars.sh") (("MOZ_SERVICES_SYNC=0") "MOZ_SERVICES_SYNC=1")) #t)) + (add-after 'unpack 'dont-store-compiler-paths + (lambda _ + ;; Remove references to the compilers used from the output. Reduces + ;; `guix size icecat' by 1 GiB on x86-64. + (let ((zap "Store reference removed")) + (substitute* "toolkit/content/buildconfig.html" + (("@CC@") zap) + (("@CXX@") zap) + (("@RUSTC@") zap) + (("@MOZ_CONFIGURE_OPTIONS@") zap))))) (add-after 'unpack 'apply-guix-specific-patches (lambda* (#:key inputs native-inputs #:allow-other-keys) (let ((patch (string-append (assoc-ref (or native-inputs inputs) -- 2.24.1