diff options
Diffstat (limited to 'pkgs/games/blightmud/default.nix')
-rw-r--r-- | pkgs/games/blightmud/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/games/blightmud/default.nix b/pkgs/games/blightmud/default.nix index ee69fc697b31..b5ebd8c279ee 100644 --- a/pkgs/games/blightmud/default.nix +++ b/pkgs/games/blightmud/default.nix @@ -31,10 +31,10 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ]; buildInputs = [ openssl ] - ++ lib.optionals (withTTS && stdenv.isLinux) [ speechd-minimal ] - ++ lib.optionals stdenv.isLinux [ alsa-lib ] - ++ lib.optionals (withTTS && stdenv.isDarwin) [ AVFoundation AppKit ] - ++ lib.optionals stdenv.isDarwin [ CoreAudio AudioUnit ]; + ++ lib.optionals (withTTS && stdenv.hostPlatform.isLinux) [ speechd-minimal ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib ] + ++ lib.optionals (withTTS && stdenv.hostPlatform.isDarwin) [ AVFoundation AppKit ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreAudio AudioUnit ]; checkFlags = let |