about summary refs log tree commit diff
path: root/pkgs/applications/radio/direwolf/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/radio/direwolf/default.nix')
-rw-r--r--pkgs/applications/radio/direwolf/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/radio/direwolf/default.nix b/pkgs/applications/radio/direwolf/default.nix
index e55f895d24af..6cd591fcbda6 100644
--- a/pkgs/applications/radio/direwolf/default.nix
+++ b/pkgs/applications/radio/direwolf/default.nix
@@ -30,8 +30,8 @@ stdenv.mkDerivation rec {
 
   strictDeps = true;
 
-  buildInputs = lib.optionals stdenv.isLinux [ alsa-lib udev ]
-    ++ lib.optionals stdenv.isDarwin [ portaudio ]
+  buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib udev ]
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ portaudio ]
     ++ lib.optionals gpsdSupport [ gpsd ]
     ++ lib.optionals hamlibSupport [ hamlib ]
     ++ lib.optionals extraScripts [ python3 perl espeak ];