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 GitHub
parent 56e6b1428c
commit 9846ee653c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -447,6 +447,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}
'';
};