From 65648a8f164edcfd0c177a2feca343f96ff9b383 Mon Sep 17 00:00:00 2001 From: musjj <72612857+musjj@users.noreply.github.com> Date: Sat, 26 Oct 2024 18:43:01 +0700 Subject: [PATCH] fcitx5-mozc: attempt to fix tests Co-authored-by: h7x4 --- pkgs/by-name/fc/fcitx5-mozc/package.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; };