From 936e9a7d54554e32d72f2f3c5bf77fdeb1bf88d9 Mon Sep 17 00:00:00 2001 From: musjj <72612857+musjj@users.noreply.github.com> Date: Tue, 8 Oct 2024 21:54:51 +0700 Subject: [PATCH] {fcitx5-mozc,fcitx5-mozc-ut}: move to by-name --- pkgs/by-name/fc/fcitx5-mozc-ut/package.nix | 8 ++++++++ .../fc/fcitx5-mozc/package.nix} | 0 pkgs/top-level/all-packages.nix | 4 ---- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 pkgs/by-name/fc/fcitx5-mozc-ut/package.nix rename pkgs/{tools/inputmethods/fcitx5/fcitx5-mozc.nix => by-name/fc/fcitx5-mozc/package.nix} (100%) diff --git a/pkgs/by-name/fc/fcitx5-mozc-ut/package.nix b/pkgs/by-name/fc/fcitx5-mozc-ut/package.nix new file mode 100644 index 000000000000..7580b0181e33 --- /dev/null +++ b/pkgs/by-name/fc/fcitx5-mozc-ut/package.nix @@ -0,0 +1,8 @@ +{ + fcitx5-mozc, + mozc-ut, +}: + +fcitx5-mozc.override { + mozc = mozc-ut; +} diff --git a/pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix b/pkgs/by-name/fc/fcitx5-mozc/package.nix similarity index 100% rename from pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix rename to pkgs/by-name/fc/fcitx5-mozc/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6e0051d43722..147714e846fc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7474,10 +7474,6 @@ with pkgs; fcitx5-bamboo = callPackage ../tools/inputmethods/fcitx5/fcitx5-bamboo.nix { }; - fcitx5-mozc = callPackage ../tools/inputmethods/fcitx5/fcitx5-mozc.nix { }; - - fcitx5-mozc-ut = fcitx5-mozc.override { mozc = mozc-ut; }; - fcitx5-skk = qt6Packages.callPackage ../tools/inputmethods/fcitx5/fcitx5-skk.nix { }; fcitx5-anthy = callPackage ../tools/inputmethods/fcitx5/fcitx5-anthy.nix { };