I use NixOS with Xmonad as my window manager. I’m trying to upgrade nixpkgs, and came across an error that I’m not sure how to track down:
building '/nix/store/j51h66lf0hzjsls3brid2dp2yk77jj5z-cabal2nix-xmonad.drv'...
error: fcitx-engines is deprecated, please use fcitx5 instead.
I use the version of Xmonad from nixpkgs, so I was surprised this caught me. I can’t immediately see where this is used, though my guess is in some Xmonad dependency. I’ll try investigate that later, but for now I thought I’d ask if anyone else has run into this or has some ideas on how to fix it.
In your config, where are you pulling in and enabling xmonad? Do you get any interesting debug output with --show-trace?
Also, if possible, could you make a minimal reproducer? (I don’t really want to build your whole nixos machine just to try to debug a single xmonad error…)
edit: Oh, also, it could be that you’re getting two separate, unrelated errors from Nix, one about xmonad, and one about fcitx.
I’m also seeing this in darwin-x86_64 and darwin-aarch64 with home-manager, which is odd as I don’t believe i18n is supported on darwin. On NixOS (where I run Monad) I’m not having this issue when using more or less the same config.
Oh, sorry, I forget to include with pkgs; into the example. I believe you can use pkgs.fcitx5 if your configuration.nix starts with something like the following: { pkgs, ... }.