From 0119577c33ab0349e06e75e64a1b0b975a78ace2 Mon Sep 17 00:00:00 2001 From: wlph17 <55318763+wlph17@users.noreply.github.com> Date: Fri, 7 Oct 2022 11:31:43 +0800 Subject: [PATCH] flake: set Nix Qt environment variables in development shell allows applets to run standalone via ``python -m ...`` without requiring the Nix Qt wrapper --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index f78982474..e97610a70 100644 --- a/flake.nix +++ b/flake.nix @@ -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} ''; };