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>
This commit is contained in:
parent
fc11b0d3b2
commit
2f4d08ee7f
|
@ -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))))))))))
|
||||
|
|
Loading…
Reference in New Issue