about summary refs log tree commit diff
path: root/pkgs/development/libraries/libremidi/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libremidi/default.nix')
-rw-r--r--pkgs/development/libraries/libremidi/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libremidi/default.nix b/pkgs/development/libraries/libremidi/default.nix
index 48014bea0741..6717b97203b7 100644
--- a/pkgs/development/libraries/libremidi/default.nix
+++ b/pkgs/development/libraries/libremidi/default.nix
@@ -22,8 +22,8 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ cmake ];
 
-  buildInputs = lib.optional stdenv.isLinux alsa-lib
-    ++ lib.optionals stdenv.isDarwin [
+  buildInputs = lib.optional stdenv.hostPlatform.isLinux alsa-lib
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
     CoreAudio
     CoreFoundation
     CoreMIDI