nongnu: firefox: Remove obsolete phase.

* nongnu/packages/mozilla.scm (firefox)[arguments]<#:phases>: Remome
'patch-icu-lookup.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
Tomas Volf 2025-06-26 23:10:16 +02:00 committed by Hilton Chain
parent 1b17c6dfc0
commit f076df5c6a
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -563,18 +563,7 @@ Release (ESR) version.")
#~(modify-phases #$phases
(replace 'set-build-id
(lambda _
(setenv "MOZ_BUILD_DATE" #$%firefox-build-id)))
;; https://bugzilla.mozilla.org/show_bug.cgi?id=1927380
(add-before 'configure 'patch-icu-lookup
(lambda _
(let* ((file "js/moz.configure")
(old-content (call-with-input-file file get-string-all)))
(substitute* file
(("icu-i18n >= 76.1" all)
(string-append all ", icu-uc >= 76.1")))
(if (string=? old-content
(pk (call-with-input-file file get-string-all)))
(error "substitute did nothing, phase requires an update")))))))))
(setenv "MOZ_BUILD_DATE" #$%firefox-build-id)))))))
(native-inputs
(modify-inputs (package-native-inputs firefox-esr)
(replace "rust" rust-firefox)