fcitx5: remove global with

This commit is contained in:
Sandro Jäckel 2022-12-12 11:47:21 +01:00
parent 33e0d99cbe
commit f6919f6299
No known key found for this signature in database
GPG key ID: B1763F8651144063

View file

@ -1,7 +1,5 @@
{ lib, symlinkJoin, makeWrapper, fcitx5, fcitx5-configtool, fcitx5-qt, fcitx5-gtk, addons ? [ ] }:
with lib;
symlinkJoin {
name = "fcitx5-with-addons-${fcitx5.version}";
@ -14,7 +12,7 @@ symlinkJoin {
--prefix FCITX_ADDON_DIRS : "$out/lib/fcitx5" \
--suffix XDG_DATA_DIRS : "$out/share" \
--suffix PATH : "$out/bin" \
--suffix LD_LIBRARY_PATH : ${makeLibraryPath (flatten (map (x: x.extraLdLibraries or []) addons))}
--suffix LD_LIBRARY_PATH : ${lib.makeLibraryPath (lib.flatten (map (x: x.extraLdLibraries or []) addons))}
desktop=share/applications/org.fcitx.Fcitx5.desktop
autostart=etc/xdg/autostart/org.fcitx.Fcitx5.desktop
@ -25,5 +23,5 @@ symlinkJoin {
ln -s $out/$desktop $out/$autostart
'';
meta = fcitx5.meta;
inherit (fcitx5) meta;
}