From 19ef8e0f0bbd23eeae5c23dc5d86e63dc6796af9 Mon Sep 17 00:00:00 2001 From: Hythera <87016780+Hythera@users.noreply.github.com> Date: Sun, 26 Apr 2026 18:36:26 +0200 Subject: [PATCH] python3Packages.pyclip: unbreak on darwin --- pkgs/development/python-modules/pyclip/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyclip/default.nix b/pkgs/development/python-modules/pyclip/default.nix index 44f07cf4fa40..1978d20f7a6b 100644 --- a/pkgs/development/python-modules/pyclip/default.nix +++ b/pkgs/development/python-modules/pyclip/default.nix @@ -39,8 +39,11 @@ buildPythonPackage rec { runHook postCheck ''; + # Tests require `pbcopy` and `pbpaste` on darwin, which are dependencies that are not + # available in the build environemt. + doCheck = !stdenv.hostPlatform.isDarwin; + meta = { - broken = stdenv.hostPlatform.isDarwin; description = "Cross-platform clipboard utilities supporting both binary and text data"; mainProgram = "pyclip"; homepage = "https://github.com/spyoungtech/pyclip";