From 9846ee653c55117e41b42bbe22601430d176f487 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 bc2cf378e..f08a88c1f 100644 --- a/flake.nix +++ b/flake.nix @@ -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} ''; };