From c6f113a3f4bdcd21aae126deaf0225b57352aaf2 Mon Sep 17 00:00:00 2001 From: "S. Nordin Abouzahra" Date: Wed, 9 Dec 2020 14:05:10 -0500 Subject: [PATCH] firefox: remove superfluous NIX_CFLAGS_COMPILE It was added for nspr and nss back in the 55.0.3 to 56.0 upgrade. It also served as a workaround for an undeclared gio-unix-2.0 dependency. Sometime afterwards nspr was removed, leaving just the two. Since then, upstream has added a declaration for gio-unix-2.0 (in FF62). As for the nss include it seemingly has no purpose since current firefox builds with it removed. --- pkgs/applications/networking/browsers/firefox/common.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix index 70fde21823a..d335313df7b 100644 --- a/pkgs/applications/networking/browsers/firefox/common.nix +++ b/pkgs/applications/networking/browsers/firefox/common.nix @@ -186,11 +186,6 @@ buildStdenv.mkDerivation ({ -rpath ${llvmPackages.libunwind.out}/lib ''; - NIX_CFLAGS_COMPILE = toString [ - "-I${glib.dev}/include/gio-unix-2.0" - "-I${nss_pkg.dev}/include/nss" - ]; - MACH_USE_SYSTEM_PYTHON = "1"; postPatch = ''