about summary refs log tree commit diff
path: root/pkgs/by-name/ek/ekho/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ek/ekho/package.nix')
-rw-r--r--pkgs/by-name/ek/ekho/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/ek/ekho/package.nix b/pkgs/by-name/ek/ekho/package.nix
index 043908298266..818c113ba0c2 100644
--- a/pkgs/by-name/ek/ekho/package.nix
+++ b/pkgs/by-name/ek/ekho/package.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
   nativeBuildInputs = [ pkg-config autoconf automake libtool ];
 
   buildInputs = [ libsndfile libpulseaudio espeak-ng sonic utf8cpp ]
-    ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.AudioUnit ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.AudioUnit ];
 
   meta = with lib; {
     description = "Chinese text-to-speech software";