Skip to content

Commit

Permalink
matplotlib: Use ghostscript_headless
Browse files Browse the repository at this point in the history
matplotlib does not seem to use ghostscript in its graphical /
interactive capacity, based on quick scan through the docs and
github code search.

If this needs to be reverted, please state the graphical use case
in a comment, so we don't make this mistake again.
  • Loading branch information
roberth committed Dec 7, 2022
1 parent d896fa5 commit 64c6e21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5594,6 +5594,7 @@ self: super: with self; {
matplotlib = callPackage ../development/python-modules/matplotlib {
stdenv = if stdenv.isDarwin then pkgs.clangStdenv else pkgs.stdenv;
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
ghostscript = pkgs.ghostscript_headless;
};

matplotlib-inline = callPackage ../development/python-modules/matplotlib-inline { };
Expand Down

0 comments on commit 64c6e21

Please sign in to comment.