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.
This commit is contained in:
Andreas Rammhold 2018-11-14 20:51:19 +01:00
parent f1ee26bc4b
commit 66e16843b3
No known key found for this signature in database
GPG Key ID: E432E410B5E48C86

View File

@ -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 ];