mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-15 15:37:54 -05:00
gnu: keepassxc: Set QT_PLUGIN_PATH.
* gnu/packages/password-utils.scm (keepassxc): Wrap program to set QT_PLUGIN_PATH for svg icons to show properly.
This commit is contained in:
parent
9a62282755
commit
074814fe57
1 changed files with 13 additions and 1 deletions
|
@ -133,7 +133,19 @@ (define-public keepassxc
|
|||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags '("-DWITH_XC_ALL=YES"
|
||||
"-DWITH_XC_UPDATECHECK=NO")))
|
||||
"-DWITH_XC_UPDATECHECK=NO")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'wrap-bin
|
||||
(lambda* (#:key outputs inputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(wrap-program (string-append out "/bin/keepassxc")
|
||||
`("QT_PLUGIN_PATH" ":" prefix
|
||||
,(map (lambda (label)
|
||||
(string-append (assoc-ref inputs label)
|
||||
"/lib/qt5/plugins"))
|
||||
'("qtbase" "qtsvg")))))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("asciidoctor" ,ruby-asciidoctor)
|
||||
("qttools" ,qttools)))
|
||||
|
|
Loading…
Reference in a new issue