fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Robert Helgessonfcitx5: add `fcitx5-config-qt` to test stubaa59f917

master
839 B29 linesraw
1{
2  test.stubs = {
3    fcitx5 = {
4      version = "0";
5      outPath = null;
6      buildScript = ''
7        mkdir -p $out/bin $out/share/applications $out/etc/xdg/autostart
8        touch $out/bin/fcitx5 \
9              $out/bin/fcitx5-config-qt \
10              $out/share/applications/org.fcitx.Fcitx5.desktop \
11              $out/etc/xdg/autostart/org.fcitx.Fcitx5.desktop
12        chmod +x $out/bin/fcitx5 \
13                 $out/bin/fcitx5-config-qt
14      '';
15    };
16    fcitx5-configtool = { outPath = null; };
17    fcitx5-lua = { outPath = null; };
18    fcitx5-qt = { outPath = null; };
19    fcitx5-gtk = { outPath = null; };
20    fcitx5-chinese-addons = { outPath = null; };
21  };
22
23  nixpkgs.overlays = [
24    (self: super: {
25      fcitx5-with-addons =
26        super.fcitx5-with-addons.override { inherit (self) fcitx5-qt; };
27    })
28  ];
29}