From 3307e926edaf8528b3b6daa64d21fe32660653dd Mon Sep 17 00:00:00 2001 From: Emily Date: Sat, 22 Jun 2024 10:28:22 +0100 Subject: [PATCH] python3Packages.vispy: skip patch on Darwin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The upstream code can already successfully find the system framework on macOS, and fontconfig isn’t used at all. Co-authored-by: Randy Eckenrode --- pkgs/development/python-modules/vispy/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/vispy/default.nix b/pkgs/development/python-modules/vispy/default.nix index 36833c75ff48..d3597727926a 100644 --- a/pkgs/development/python-modules/vispy/default.nix +++ b/pkgs/development/python-modules/vispy/default.nix @@ -31,7 +31,7 @@ buildPythonPackage rec { hash = "sha256-7ti0TW9ch70pWySqmi4OTm3GqQXM7gGy1ByPvwp2ez0="; }; - patches = [ + patches = lib.optionals (!stdenv.hostPlatform.isDarwin) [ (substituteAll { src = ./library-paths.patch; fontconfig = "${fontconfig.lib}/lib/libfontconfig${stdenv.hostPlatform.extensions.sharedLibrary}";