From 45858f4a304b0d7fc57aa866cfbd7a5af698cea4 Mon Sep 17 00:00:00 2001 From: Franz Geffke Date: Sun, 22 Jun 2025 00:29:26 +0100 Subject: px: px-terminal-launcher: Fix QT_PLUGIN_PATH --- px/packages/desktop-tools.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'px/packages') diff --git a/px/packages/desktop-tools.scm b/px/packages/desktop-tools.scm index 61d81d4..9af9b0e 100644 --- a/px/packages/desktop-tools.scm +++ b/px/packages/desktop-tools.scm @@ -296,6 +296,16 @@ brand icons for easy, scalable vector graphics on websites and beyond.") (sha256 (base32 "1z56s4179nh2bn4g19y84lcw1xj7qsickqqhk99pij6k5hibcpz2")))) (build-system qt-build-system) + (arguments + ;; make qtsvg work + (list #:phases + #~(modify-phases %standard-phases + (add-after 'install 'wrap-executable + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (plugin-path (getenv "QT_PLUGIN_PATH"))) + (wrap-program (string-append out "/bin/launcher") + `("QT_PLUGIN_PATH" ":" prefix (,plugin-path))))))))) (native-inputs (list qttools pkg-config extra-cmake-modules)) (inputs (list capnproto qtbase -- cgit v1.2.3