diff options
author | Thomas Danckaert <thomas.danckaert@gmail.com> | 2017-01-11 19:33:03 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-01-16 22:13:21 +0100 |
commit | 2f4d08ee7f897e254c6e533ad2d69c7fe4998f38 (patch) | |
tree | 9bff60befebc36f997d50823b00198f482736fe7 /gnu/packages/kde.scm | |
parent | fc11b0d3b299aafd81f88135d51dc3b911d7be7f (diff) | |
download | guix-2f4d08ee7f897e254c6e533ad2d69c7fe4998f38.tar.gz |
gnu: kdevelop: Set more paths in wrapper script.
* gnu/packages/kde.scm (kdevelop)[arguments]: Add more paths in wrap-executable: add "/share" output of kdevplatform and kcmutils to $XDG_DATA_DIRS; add "lib/plugins" from user profile to $QT_PLUGIN_PATH. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/kde.scm')
-rw-r--r-- | gnu/packages/kde.scm | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index 5f227acef8..aef56bb202 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -98,15 +98,18 @@ (let* ((out (assoc-ref outputs "out")) (kdevplatform (assoc-ref inputs "kdevplatform")) (kio (assoc-ref inputs "kio")) + (kcmutils (assoc-ref inputs "kcmutils")) (qtquickcontrols (assoc-ref inputs "qtquickcontrols")) (qtdeclarative (assoc-ref inputs "qtdeclarative")) - (plugins "/lib/plugins") + (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))) `("QT_PLUGIN_PATH" ":" prefix - (,(string-append out plugins) - ,(string-append kdevplatform plugins) - ,(string-append kio plugins))) + ,(map (lambda (s) (string-append s "/lib/plugins")) + (list profile out kdevplatform kio))) `("QML2_IMPORT_PATH" ":" prefix (,(string-append qtquickcontrols qml) ,(string-append qtdeclarative qml)))))))))) |