git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit66e16843b35ecc56de7badad279a1d0264832025 authorAndreas Rammhold <andreas@rammhold.de> dateWed 14 Nov 2018, 20:51 (8 years ago) parentf1ee26b
1 file changed+8
pkgs/applications/networking/browsers/firefox/packages.nix+8
pkgs/applications/networking/browsers/firefox/packages.nix+8
@@ -22,6 +22,14 @@ rec {
2222
2323 patches = nixpkgsPatches ++ [
2424 ./no-buildconfig.patch
25+ # this is only required for version 63.0, version 63.0.3 onwards will
26+ # carry the patch
27+ # bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1503401
28+ (fetchpatch {
29+ name = "fix-rust-cbindgen-breaking-change.patch";
30+ url = "https://hg.mozilla.org/releases/mozilla-release/raw-rev/22273af49058";
31+ sha256 = "1kvswbr1jxigli6s5jh3cr21153jx6mlyxf4a39510y3dg19ls0a";
32+ })
2533 ];
2634
2735 extraNativeBuildInputs = [ python3 ];