diff options
author | Franz Geffke <m@f-a.nz> | 2025-06-22 00:29:26 +0100 |
---|---|---|
committer | Franz Geffke <m@f-a.nz> | 2025-06-22 00:29:26 +0100 |
commit | 45858f4a304b0d7fc57aa866cfbd7a5af698cea4 (patch) | |
tree | 98c97ced7d28e85ce8937c5ab71798a77177b145 /px/packages/desktop-tools.scm | |
parent | b585a49feec9d77676a6d6e99fda87d491cefaa2 (diff) |
px: px-terminal-launcher: Fix QT_PLUGIN_PATH
Diffstat (limited to 'px/packages/desktop-tools.scm')
-rw-r--r-- | px/packages/desktop-tools.scm | 10 |
1 files changed, 10 insertions, 0 deletions
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 |