flake: set Nix Qt environment variables in development shell

allows applets to run standalone via ``python -m ...`` without requiring the Nix Qt wrapper
This commit is contained in:
wlph17 2022-10-07 11:31:43 +08:00 committed by Sebastien Bourdeauducq
parent ad13e2205d
commit 0119577c33
1 changed files with 2 additions and 0 deletions

View File

@ -442,6 +442,8 @@
];
shellHook = ''
export LIBARTIQ_SUPPORT=`libartiq-support`
export QT_PLUGIN_PATH=${pkgs.qt5.qtbase}/${pkgs.qt5.qtbase.dev.qtPluginPrefix}
export QML2_IMPORT_PATH=${pkgs.qt5.qtbase}/${pkgs.qt5.qtbase.dev.qtQmlPrefix}
'';
};