[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#39146] [PATCH v2] gnu: icecat: Remove about:buildconfig store refer
From: |
Jakub Kądziołka |
Subject: |
[bug#39146] [PATCH v2] gnu: icecat: Remove about:buildconfig store references. |
Date: |
Wed, 22 Jan 2020 21:50:47 +0100 |
On Wed, Jan 22, 2020 at 09:13:13PM +0100, Tobias Geerinckx-Rice wrote:
> Jakub: I accidentally kept your copyright line in v1, but didn't actually use
> your code (although part of your comment survives :-). Is the Reported-by
> above acceptable?
I feel like Co-authored-by might fit better, but either is fine by me.
> + ;; Mangle the store references to compilers & other build tools
> in
> + ;; about:buildconfig, reducing IceCat's closure by 1 GiB on
> x86-64.
Minor² nit: I feel like this wording suggests this only matters on x64.
How about: reducing IceCat's closure by 1 GiB (measured on x86-64).
> + (substitute*
> + "dist/bin/chrome/toolkit/content/global/buildconfig.html"
> + (((format #f "(~a/)([0-9a-z]{32})" (%store-directory)) _
> store hash)
> + (string-append store (string-take hash 8) "…")))
> + #t))
I don't know whether this is a supported use case, but... what if
(%store-directory) contains regex metacharacters?
Marius Bakke wrote:
> Is it possible to use 'remove-store-references' here?
For later reference, resolved on IRC:
http://logs.guix.gnu.org/guix/2020-01-22.log#213448
Regards,
Jakub Kądziołka
[bug#39146] [PATCH] gnu: icecat: Remove about:buildconfig store references., Tobias Geerinckx-Rice, 2020/01/21
[bug#39146] [PATCH v2] gnu: icecat: Remove about:buildconfig store references., Tobias Geerinckx-Rice, 2020/01/22