about summary refs log tree commit diff
path: root/pkgs/development/python-modules/hidapi/default.nix
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2020-11-22 07:12:17 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2020-11-22 18:23:55 +0100
commit348a86a7239f22fbc424fcbbc8ad5b8209cb43d3 (patch)
tree95877e643f0bcffda30b4631ab719475896bfc34 /pkgs/development/python-modules/hidapi/default.nix
parent3b4b2a828f85ff1de2426c7f58f6883d5351d050 (diff)
pythonPackages.hidapi: Fix compilation on darwin
Diffstat (limited to 'pkgs/development/python-modules/hidapi/default.nix')
-rw-r--r--pkgs/development/python-modules/hidapi/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/hidapi/default.nix b/pkgs/development/python-modules/hidapi/default.nix
index 070ad57c4f113..05557b096df78 100644
--- a/pkgs/development/python-modules/hidapi/default.nix
+++ b/pkgs/development/python-modules/hidapi/default.nix
@@ -11,7 +11,7 @@ buildPythonPackage rec {
 
   propagatedBuildInputs =
     stdenv.lib.optionals stdenv.isLinux [ libusb1 udev ] ++
-    stdenv.lib.optionals stdenv.isDarwin [ darwin.IOKit darwin.apple_sdk.frameworks.CoreFoundation ] ++
+    stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ AppKit CoreFoundation IOKit ]) ++
     [ cython ];
 
   # Fix the USB backend library lookup