From 66e16843b35ecc56de7badad279a1d0264832025 Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Wed, 14 Nov 2018 20:51:19 +0100 Subject: [PATCH] firefox: apply patch for newer rust-cbindgen rust-cbindgen did apply some breaking changes which requires the added patch in order to compile until a firefox version with the fix gets released. Firefox 63.0.3 is supposed to carry the required patches. This should only be required for a short term. --- .../applications/networking/browsers/firefox/packages.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/applications/networking/browsers/firefox/packages.nix b/pkgs/applications/networking/browsers/firefox/packages.nix index 81f805feddf..f8c1c083755 100644 --- a/pkgs/applications/networking/browsers/firefox/packages.nix +++ b/pkgs/applications/networking/browsers/firefox/packages.nix @@ -22,6 +22,14 @@ rec { patches = nixpkgsPatches ++ [ ./no-buildconfig.patch + # this is only required for version 63.0, version 63.0.3 onwards will + # carry the patch + # bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1503401 + (fetchpatch { + name = "fix-rust-cbindgen-breaking-change.patch"; + url = "https://hg.mozilla.org/releases/mozilla-release/raw-rev/22273af49058"; + sha256 = "1kvswbr1jxigli6s5jh3cr21153jx6mlyxf4a39510y3dg19ls0a"; + }) ]; extraNativeBuildInputs = [ python3 ];