1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: anki: Do not wrap with QTWEBENGINEPROCESS_PATH.

* gnu/packages/education.scm (anki) [arguments]: Remove
QTWEBENGINEPROCESS_PATH from the wrap phase.

Change-Id: If8b2cd5bcb0624033b6f7a29c9b865b70943032d
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail>
This commit is contained in:
宋文武
2025-02-02 12:34:52 +08:00
committed by Andreas Enge
parent a89116cdd3
commit b4b6af1479

View File

@@ -837,18 +837,11 @@ stored and user can review his performance in any time.")
(filter (match-lambda
((label . _)
(string-prefix? "python-" label)))
inputs)))
(qtwebengineprocess
(search-input-file inputs
"lib/qt5/libexec/QtWebEngineProcess")))
;; The program fails to find the QtWebEngineProcess program, so
;; we set QTWEBENGINEPROCESS_PATH to help it. PYTHONPATH is
;; wrapped to avoid declaring Python libraries as propagated
;; inputs.
inputs))))
;; PYTHONPATH is wrapped to avoid declaring Python libraries as
;; propagated inputs.
(for-each (lambda (program)
(wrap-program program
`("QTWEBENGINEPROCESS_PATH" =
(,qtwebengineprocess))
`("PATH" prefix (,(string-append
(assoc-ref inputs "mpv")
"/bin")))