qt: use sessionVariablesExtra to export QT_PLUGIN_PATH/QML2_IMPORT_PATH
This commit is contained in:
parent
eaee696b6e
commit
55eee5bd67
2 changed files with 26 additions and 18 deletions
|
|
@ -28,8 +28,7 @@ in {
|
|||
GTK_IM_MODULE = "fcitx";
|
||||
QT_IM_MODULE = "fcitx";
|
||||
XMODIFIERS = "@im=fcitx";
|
||||
# Using mkDefault here since we override this value in qt module if enabled
|
||||
QT_PLUGIN_PATH = lib.mkDefault
|
||||
QT_PLUGIN_PATH =
|
||||
"$QT_PLUGIN_PATH\${QT_PLUGIN_PATH:+:}${fcitx5Package}/${pkgs.qt6.qtbase.qtPluginPrefix}";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue