diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-12-30 10:53:39 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-12-30 10:53:39 +0200 |
commit | ccb402d9db0ee1c37866fa1382841183b48f3a2a (patch) | |
tree | f35acb2d45879903f36ff1a595609b8b84cb3691 /gnu/packages/web.scm | |
parent | 78cf7a4571081ff9c9e4ab678bf67368de1add59 (diff) | |
parent | 4303e33c8636d9c3bfe03758f25636efa9674af9 (diff) | |
download | guix-ccb402d9db0ee1c37866fa1382841183b48f3a2a.tar.gz |
Merge remote-tracking branch 'origin/master' into staging
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r-- | gnu/packages/web.scm | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 5dc0b4dea4..50a837f51b 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -7957,7 +7957,17 @@ It contains the code shared by all Kiwix ports.") (lambda* (#:key inputs #:allow-other-keys) (substitute* "kiwix-desktop.pro" (("webenginewidgets" all) (string-append all " printsupport"))) - #t))))) + #t)) + (add-after 'install 'wrap-qt-process-path + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin/kiwix-desktop")) + (qt-process-path (string-append + (assoc-ref inputs "qtwebengine") + "/lib/qt5/libexec/QtWebEngineProcess"))) + (wrap-program bin + `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path))) + #t)))))) (inputs `(("curl" ,curl) ("icu4c" ,icu4c) |