summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgs/applications/networking/browsers/firefox/common.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix
index db44db4acbf0..5d0192df5ef8 100644
--- a/pkgs/applications/networking/browsers/firefox/common.nix
+++ b/pkgs/applications/networking/browsers/firefox/common.nix
@@ -10,7 +10,7 @@
, hunspell, libevent, libstartup_notification, libvpx
, icu, libpng, jemalloc, glib
, autoconf213, which, gnused, cargo, rustc, llvmPackages
-, rust-cbindgen, nodejs, rust_1_29
+, rust-cbindgen, rust-cbindgen_0_6_7, nodejs, rust_1_29
, debugBuild ? false
### optionals
@@ -127,8 +127,10 @@ stdenv.mkDerivation (rec {
nativeBuildInputs =
[ autoconf213 which gnused pkgconfig perl python2 ]
++ (if (lib.versionAtLeast version "63") then [
- rust-cbindgen nodejs rust_1_29.rustc rust_1_29.cargo
+ nodejs rust_1_29.rustc rust_1_29.cargo
] else [ cargo rustc ])
+ ++ (if (lib.versionAtLeast version "64") then [ rust-cbindgen_0_6_7 ]
+ else [ rust-cbindgen ])
++ lib.optional gtk3Support wrapGAppsHook
++ lib.optionals stdenv.isDarwin [ xcbuild rsync ]
++ extraNativeBuildInputs;