Skip to content

Commit

Permalink
fcitx5: fix and enable strictDeps (#361689)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Jan 17, 2025
2 parents 9dfdaf6 + 9737c6a commit 7d5856e
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 6 deletions.
5 changes: 5 additions & 0 deletions pkgs/tools/inputmethods/fcitx5/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
, xcb-imdkit
, libxkbfile
, nixosTests
, gettext
}:
let
enDictVer = "20121020";
Expand Down Expand Up @@ -62,9 +63,11 @@ stdenv.mkDerivation rec {
extra-cmake-modules
pkg-config
wayland-scanner
gettext
];

buildInputs = [
extra-cmake-modules # required to please CMake
expat
fmt
isocodes
Expand Down Expand Up @@ -94,6 +97,8 @@ stdenv.mkDerivation rec {
libxkbfile
];

strictDeps = true;

passthru = {
updateScript = ./update.py;
tests = {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/inputmethods/fcitx5/fcitx5-anthy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
extra-cmake-modules
gettext # msgfmt
pkg-config
zstd
];
buildInputs = [
fcitx5
anthy
gettext
];

meta = with lib; {
Expand Down
4 changes: 3 additions & 1 deletion pkgs/tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
cmake,
extra-cmake-modules,
boost,
gettext,
libime,
fcitx5,
fcitx5-qt,
Expand Down Expand Up @@ -45,7 +46,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
extra-cmake-modules
boost
gettext
fcitx5-lua
];

Expand All @@ -55,6 +56,7 @@ stdenv.mkDerivation rec {
'';

buildInputs = [
boost
fcitx5
fcitx5-qt
libime
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/inputmethods/fcitx5/fcitx5-lua.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
extra-cmake-modules
gettext
];

buildInputs = [
fcitx5
lua
gettext
];

passthru = {
Expand Down
2 changes: 2 additions & 0 deletions pkgs/tools/inputmethods/fcitx5/fcitx5-qt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
cmake,
extra-cmake-modules,
fcitx5,
gettext,
qtbase,
qtwayland,
wrapQtAppsHook,
Expand Down Expand Up @@ -39,6 +40,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
extra-cmake-modules
gettext
wrapQtAppsHook
];

Expand Down
5 changes: 4 additions & 1 deletion pkgs/tools/inputmethods/fcitx5/fcitx5-table-extra.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ stdenv.mkDerivation rec {
extra-cmake-modules
gettext
libime
boost
fcitx5
];

buildInputs = [
boost
];

meta = with lib; {
description = "Extra table for Fcitx, including Boshiamy, Zhengma, Cangjie, and Quick";
homepage = "https://github.com/fcitx/fcitx5-table-extra";
Expand Down
5 changes: 4 additions & 1 deletion pkgs/tools/inputmethods/fcitx5/fcitx5-table-other.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ stdenv.mkDerivation rec {
extra-cmake-modules
gettext
libime
boost
fcitx5
];

buildInputs = [
boost
];

meta = with lib; {
description = "Some other tables for Fcitx";
homepage = "https://github.com/fcitx/fcitx5-table-other";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/inputmethods/fcitx5/fcitx5-unikey.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
extra-cmake-modules
gettext # msgfmt
];

buildInputs = [
qtbase
fcitx5
fcitx5-qt
gettext
];

cmakeFlags = [
Expand Down

0 comments on commit 7d5856e

Please sign in to comment.