Revert "buildMozillaMach: backport BZ 2047651 patch for 153"

This reverts commit 0374b4e5ac.
This commit is contained in:
Tol Wassman
2026-07-16 21:19:20 +00:00
parent 38de0900df
commit f4f8338f0e
@@ -349,24 +349,6 @@ buildStdenv.mkDerivation {
# https://bugzilla.mozilla.org/show_bug.cgi?id=2046162
./153-cbindgen-0.29.4-compat.patch
]
++
# Fixes `ld.lld: error: undefined symbol: FREEBL_GetVector`
# https://bugzilla.mozilla.org/show_bug.cgi?id=2047651
lib.optionals
(
lib.versionAtLeast version "153"
&& lib.versionOlder version "154"
# We don't set --with-system-nss on Darwin, so it should be
# unaffected.
&& !stdenv.hostPlatform.isDarwin
)
[
(fetchpatch {
name = "link-freebl-explicitly-for-system-nss-builds.patch";
url = "https://hg-edge.mozilla.org/mozilla-central/raw-rev/1a56071ddc0fe97a55c3b825e1dd33c8422b9fc1";
hash = "sha256-+HiU7RMPmV7I7SIzjP0Q6iSDJL/vBjc3UcwUTg57lNQ=";
})
]
++ extraPatches;
postPatch = ''