about summary refs log tree commit diff
path: root/pkgs/by-name/fl/flite/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/fl/flite/package.nix')
-rw-r--r--pkgs/by-name/fl/flite/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/fl/flite/package.nix b/pkgs/by-name/fl/flite/package.nix
index 1edb95c2d4b8..514ded67728a 100644
--- a/pkgs/by-name/fl/flite/package.nix
+++ b/pkgs/by-name/fl/flite/package.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
     })
   ];
 
-  buildInputs = lib.optional stdenv.isLinux (
+  buildInputs = lib.optional stdenv.hostPlatform.isLinux (
     {
       alsa = alsa-lib;
       pulseaudio = libpulseaudio;
@@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
 
   configureFlags = [
     "--enable-shared"
-  ] ++ lib.optionals stdenv.isLinux [ "--with-audio=${audioBackend}" ];
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [ "--with-audio=${audioBackend}" ];
 
   # main/Makefile creates and removes 'flite_voice_list.c' from multiple targets:
   # make[1]: *** No rule to make target 'flite_voice_list.c', needed by 'all'.  Stop