gnu: librewolf: Dedent #:configure-flags

* gnu/packages/librewolf.scm (librewolf):
[#:configure-flags]: Dedent for readability.

Change-Id: I79e945ac6cf0b67fc5aae6d6f4669e6af47f30c2
This commit is contained in:
Ian Eure 2025-04-09 14:53:37 -07:00
parent e0ea819c43
commit d12d2bc72e
No known key found for this signature in database
GPG key ID: 8499AC88F1A71CF2

View file

@ -221,45 +221,45 @@
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list (list
#:configure-flags #~(let ((clang #$(this-package-native-input "clang"))) #:configure-flags
;; Configuration. #~(let ((clang #$(this-package-native-input "clang")))
`("--enable-jemalloc" ;; Configuration.
"--enable-system-pixman" `("--enable-jemalloc"
"--with-system-ffi" "--enable-system-pixman"
"--with-system-icu" "--with-system-ffi"
"--with-system-jpeg" "--with-system-icu"
"--with-system-libevent" "--with-system-jpeg"
"--with-system-libvpx" "--with-system-libevent"
"--with-system-nspr" "--with-system-libvpx"
"--with-system-nss" "--with-system-nspr"
"--with-system-png" "--with-system-nss"
"--with-system-webp" "--with-system-png"
"--with-system-zlib" "--with-system-webp"
"--without-wasm-sandboxed-libraries" "--with-system-zlib"
"--without-wasm-sandboxed-libraries"
,(string-append "--with-clang-path=" clang ,(string-append "--with-clang-path=" clang
"/bin/clang") "/bin/clang")
,(string-append "--with-libclang-path=" clang ,(string-append "--with-libclang-path=" clang
"/lib") "/lib")
;; Distribution ;; Distribution
"--with-distribution-id=org.guix" "--with-distribution-id=org.guix"
;; Features ;; Features
"--enable-pulseaudio" "--enable-pulseaudio"
;; switch only available on x86, whereas EME ;; switch only available on x86, whereas EME is not supported on
;; is not supported on other targets ;; other targets
,@(if #$(target-x86?) '("--disable-eme") '()) ,@(if #$(target-x86?) '("--disable-eme") '())
;; Build details ;; Build details
"--disable-elf-hack" "--disable-elf-hack"
;; Don't attempt to download toolchains. ;; Don't attempt to download toolchains. Upstream enables this,
;; Upstream enables this, adding the flag ;; adding the flag ensures we don't use network in the build
;; ensures we don't use network in the build ;; environment.
;; environment. "--disable-bootstrap"
"--disable-bootstrap" "--enable-strip"))
"--enable-strip"))
#:imported-modules %cargo-utils-modules #:imported-modules %cargo-utils-modules
#:modules `((ice-9 regex) #:modules `((ice-9 regex)
(ice-9 string-fun) (ice-9 string-fun)