From 64c6e21de5a3eb05303912eec356d9e1b6727119 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 7 Dec 2022 12:20:09 +0100 Subject: [PATCH] matplotlib: Use ghostscript_headless 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. --- pkgs/top-level/python-packages.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 99221acb73b18..705d12f26414d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };