mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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
1 changed files with 7 additions and 4 deletions
|
@ -98,15 +98,18 @@ (define-public kdevelop
|
|||
(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 a new issue