diff --git a/pkgs/by-name/fc/fcitx5-mozc/package.nix b/pkgs/by-name/fc/fcitx5-mozc/package.nix index b455db820e84e..43535fd935455 100644 --- a/pkgs/by-name/fc/fcitx5-mozc/package.nix +++ b/pkgs/by-name/fc/fcitx5-mozc/package.nix @@ -9,6 +9,7 @@ nixosTests, pkg-config, python3, + stdenv, unzip, }: @@ -122,7 +123,7 @@ buildBazelPackage { ''; }; - passthru.tests = { + passthru.tests = lib.optionalAttrs stdenv.hostPlatform.isLinux { inherit (nixosTests) fcitx5; };