mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: khelpcenter: Fix program.
* gnu/packages/kde-systemtools.scm (khelpcenter): Wrap XDG_DATA_DIRS to point to khtml where it can find the html4.css file, otherwise khelpcenter fails to launch. Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
parent
8cfe7e0321
commit
bf771c9e96
1 changed files with 11 additions and 1 deletions
|
@ -160,7 +160,17 @@ (define-public khelpcenter
|
|||
qtbase-5
|
||||
xapian))
|
||||
(arguments
|
||||
`(#:tests? #f)) ;; 1/1 test fails
|
||||
`(#:tests? #f ;; 1/1 test fails
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'wrap-executable
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out")))
|
||||
;; Since qt-wrap selectors do not wrap for /share/kf5
|
||||
;; directories, we need this so khelpcenter can find html4.css.
|
||||
(wrap-program (string-append out "/bin/khelpcenter")
|
||||
`("XDG_DATA_DIRS" suffix
|
||||
(,(string-append (assoc-ref inputs "khtml") "/share"))))))))))
|
||||
(home-page "https://apps.kde.org/khelpcenter/")
|
||||
(synopsis "KDE documentation viewer")
|
||||
(description "KHelpCenter uses meta data files which describe the
|
||||
|
|
Loading…
Reference in a new issue