guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#39146] [PATCH v2] gnu: icecat: Remove compiler paths from about:bui


From: Tobias Geerinckx-Rice
Subject: [bug#39146] [PATCH v2] gnu: icecat: Remove compiler paths from about:buildconfig
Date: Tue, 21 Jan 2020 19:05:52 +0100

Jakub,

Jakub Kądziołka 写道:
+         (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)))))

Thanks! This is a fine fix, but I wonder if you know where/how this file is processed by the build system? I think scanning for and neutralising any store reference in the final HTML would be less error-prone.

Thoughts?

Kind regards,

T G-R

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]