about summary refs log tree commit diff
path: root/pkgs/development/libraries/speech-tools/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/speech-tools/default.nix')
-rw-r--r--pkgs/development/libraries/speech-tools/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/speech-tools/default.nix b/pkgs/development/libraries/speech-tools/default.nix
index 8bee16fef753..1dbaa016cbbf 100644
--- a/pkgs/development/libraries/speech-tools/default.nix
+++ b/pkgs/development/libraries/speech-tools/default.nix
@@ -28,9 +28,9 @@ stdenv.mkDerivation rec {
 
   buildInputs = [
     ncurses
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     alsa-lib
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     CoreServices
     AudioUnit
     Cocoa