From 64b1ba89aaf02374db51130e597fe732714f5113 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 24 May 2022 15:08:04 -0500 Subject: [PATCH] tweaking qt platform plugin in nix-shell --- shell.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index ad75edd..c49ef8d 100644 --- a/shell.nix +++ b/shell.nix @@ -37,6 +37,7 @@ mkShell { makeWrapper "/bin/sh" "$setQtEnvironment" "''${qtWrapperArgs[@]}" sed "/^exec/d" -i "$setQtEnvironment" source "$setQtEnvironment" - fish + QT_QPA_PLATFORM_PLUGIN_PATH="${qt5.qtbase.bin}/lib/qt-${qt5.qtbase.version}/plugins"; + fish ''; }