summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Danckaert <thomas.danckaert@gmail.com>2017-10-08 19:01:59 +0200
committerThomas Danckaert <thomas.danckaert@gmail.com>2017-10-08 19:07:46 +0200
commit3ceb70e1e68f8e57fd3e9368cd3e0650ab5e4987 (patch)
tree98f40c858c08f109228616402aacd82b795df321
parent02bc41c4cedd15c6a76ecd5218f9b5848de8baea (diff)
gnu: kdevelop: Do not hardcode user profile locations in wrapper.
* gnu/packages/kde.scm (kdevelop): [arguments]: Do not add ${HOME}/.guix-profile/{share,lib/plugins} to XDG_DATA_DIRS and QT_PLUGIN_PATH when wrapping the executable.
-rw-r--r--gnu/packages/kde.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 91a7b6208c..57d4492fb8 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -102,17 +102,16 @@
(qtquickcontrols (assoc-ref inputs "qtquickcontrols"))
(qtbase (assoc-ref inputs "qtbase"))
(qtdeclarative (assoc-ref inputs "qtdeclarative"))
- (profile "$HOME/.guix-profile")
(qml "/qml"))
(wrap-program (string-append out "/bin/kdevelop")
`("XDG_DATA_DIRS" ":" prefix
,(map (lambda (s) (string-append s "/share"))
- (list profile out kdevplatform kcmutils)))
+ (list out kdevplatform kcmutils)))
`("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
(,(string-append qtbase "/plugins/platforms")))
`("QT_PLUGIN_PATH" ":" prefix
,(map (lambda (s) (string-append s "/lib/plugins"))
- (list profile out kdevplatform kio)))
+ (list out kdevplatform kio)))
`("QML2_IMPORT_PATH" ":" prefix
(,(string-append qtquickcontrols qml)
,(string-append qtdeclarative qml))))))))))