flake: set Nix Qt environment variables in development shell

allows applets to run standalone via ``python -m ...`` without requiring the Nix Qt wrapper
pull/1974/head
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
1 changed files with 2 additions and 0 deletions

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}
'';
};