about summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/firefox/common.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-02-09 14:00:48 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2019-04-26 21:54:32 -0400
commit0fe315c9b6080cd75f92fea1f97714b04abb4315 (patch)
treef2a52f2c91ed36e62e354681d76ef1495b66615a /pkgs/applications/networking/browsers/firefox/common.nix
parent5fad67d3614a84118068e8657e894cc913e2325f (diff)
downloadnixlib-0fe315c9b6080cd75f92fea1f97714b04abb4315.tar
nixlib-0fe315c9b6080cd75f92fea1f97714b04abb4315.tar.gz
nixlib-0fe315c9b6080cd75f92fea1f97714b04abb4315.tar.bz2
nixlib-0fe315c9b6080cd75f92fea1f97714b04abb4315.tar.lz
nixlib-0fe315c9b6080cd75f92fea1f97714b04abb4315.tar.xz
nixlib-0fe315c9b6080cd75f92fea1f97714b04abb4315.tar.zst
nixlib-0fe315c9b6080cd75f92fea1f97714b04abb4315.zip
treewide: remove old patches for macOS
These shouldn’t be needed now that we are on macOS 10.12.
Diffstat (limited to 'pkgs/applications/networking/browsers/firefox/common.nix')
-rw-r--r--pkgs/applications/networking/browsers/firefox/common.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix
index 3fae28be2bec..c0cfcf412c5e 100644
--- a/pkgs/applications/networking/browsers/firefox/common.nix
+++ b/pkgs/applications/networking/browsers/firefox/common.nix
@@ -153,15 +153,9 @@ stdenv.mkDerivation rec {
   ]
   ++ lib.optionals (!isTorBrowserLike) [
     "-I${nss.dev}/include/nss"
-  ]
-  ++ lib.optional stdenv.isDarwin [
-    "-isystem ${llvmPackages.libcxx}/include/c++/v1"
-    "-DMAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_10_10"
   ];
 
-  postPatch = lib.optionalString stdenv.isDarwin ''
-    substituteInPlace js/src/jsmath.cpp --replace 'defined(HAVE___SINCOS)' 0
-  '' + lib.optionalString (lib.versionAtLeast ffversion "63.0" && !isTorBrowserLike) ''
+  postPatch = lib.optionalString (lib.versionAtLeast ffversion "63.0" && !isTorBrowserLike) ''
     substituteInPlace third_party/prio/prio/rand.c --replace 'nspr/prinit.h' 'prinit.h'
   '';