Browse Source

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.
gn-latest-20200725
Julien Lepiller 1 year ago
parent
commit
074814fe57
No known key found for this signature in database GPG Key ID: 53D457B2D636EE82
1 changed files with 13 additions and 1 deletions
  1. +13
    -1
      gnu/packages/password-utils.scm

+ 13
- 1
gnu/packages/password-utils.scm View File

@ -133,7 +133,19 @@ human.")
(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…
Cancel
Save