nongnu: firefox: Raise llvm and clang to version 10.

Fixes https://gitlab.com/nonguix/nonguix/-/issues/116.

* nongnu/packages/mozilla.scm (firefox)[arguments]: Remove
fix-swgl-build.rs phase as the workaround is not necessary anymore.
[native-inputs]: Replace clang with clang-10. Dito for llvm.
This commit is contained in:
Jonathan Brielmaier 2021-06-08 19:02:49 +02:00
parent d3c5eea0cb
commit c9d7f30bcb
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -142,11 +142,6 @@
,@%gnu-build-system-modules) ,@%gnu-build-system-modules)
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
;; See https://gitlab.com/nonguix/nonguix/-/issues/116 for details
(add-after 'unpack 'fix-swgl-build.rs
(lambda _
(substitute* "gfx/wr/swgl/build.rs"
((".flag\\(\"-ffast-math\"\\)") ""))))
(add-after 'unpack 'fix-preferences (add-after 'unpack 'fix-preferences
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((port (open-file "browser/app/profile/firefox.js" "a"))) (let ((port (open-file "browser/app/profile/firefox.js" "a")))
@ -382,8 +377,8 @@
(native-inputs (native-inputs
`(("autoconf" ,autoconf-2.13) `(("autoconf" ,autoconf-2.13)
("cargo" ,rust-1.47 "cargo") ("cargo" ,rust-1.47 "cargo")
("clang" ,clang) ("clang" ,clang-10)
("llvm" ,llvm) ("llvm" ,llvm-10)
("m4" ,m4) ("m4" ,m4)
("nasm" ,nasm) ("nasm" ,nasm)
("node" ,node) ("node" ,node)