summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/matplotlib
diff options
context:
space:
mode:
authorIhar Hrachyshka <ihar.hrachyshka@gmail.com>2025-04-14 09:29:14 -0400
committerIhar Hrachyshka <ihar.hrachyshka@gmail.com>2025-04-19 20:28:20 -0400
commitdd0f03a56cf2be99f0904ff1f64e1cc5fb201d43 (patch)
tree8fe7108a21a7d8e791f1beb114167b7954e2430e /pkgs/development/python-modules/matplotlib
parent5ec4cb13653b770df8ec7941a3c646163217b274 (diff)
treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their complete removal from the tree. Note: several changes that affect the derivation inputs (e.g. removal of references to stub paths in build instructions) were left out. They will be cleaned up the next iteration and will require special care. Note: this PR is a result of a mix of ugly regex (not AST) based automation and some manual labor. For reference, the regex automation part was hacked in: https://github.com/booxter/nix-clean-apple_sdk Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
Diffstat (limited to 'pkgs/development/python-modules/matplotlib')
-rw-r--r--pkgs/development/python-modules/matplotlib/default.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/matplotlib/default.nix b/pkgs/development/python-modules/matplotlib/default.nix
index 2f4a925a2117..6ef74d0c3d3a 100644
--- a/pkgs/development/python-modules/matplotlib/default.nix
+++ b/pkgs/development/python-modules/matplotlib/default.nix
@@ -67,9 +67,6 @@
enableNbagg ? false,
ipykernel,
- # darwin
- Cocoa,
-
# required for headless detection
libX11,
wayland,
@@ -127,8 +124,7 @@ buildPythonPackage rec {
++ lib.optionals enableGtk3 [
cairo
gtk3
- ]
- ++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ];
+ ];
# clang-11: error: argument unused during compilation: '-fno-strict-overflow' [-Werror,-Wunused-command-line-argument]
hardeningDisable = lib.optionals stdenv.hostPlatform.isDarwin [ "strictoverflow" ];