about summary refs log tree commit diff
path: root/pkgs/development/python-modules/rtmidi-python/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/rtmidi-python/default.nix')
-rw-r--r--pkgs/development/python-modules/rtmidi-python/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/rtmidi-python/default.nix b/pkgs/development/python-modules/rtmidi-python/default.nix
index 6d8bf78b6d3c..cdb87a0c8657 100644
--- a/pkgs/development/python-modules/rtmidi-python/default.nix
+++ b/pkgs/development/python-modules/rtmidi-python/default.nix
@@ -26,8 +26,8 @@ buildPythonPackage rec {
 
   nativeBuildInputs = [ cython_0 ];
   buildInputs =
-    lib.optionals stdenv.isLinux [ alsa-lib ]
-    ++ lib.optionals stdenv.isDarwin [
+    lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib ]
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       CoreAudio
       CoreMIDI
       CoreServices