gnu: openconnect-sso: Do not wrap with QTWEBENGINEPROCESS_PATH.

* gnu/packages/vpn.scm (openconnect-sso) [arguments]: Remove
wrap-qt-process-path phase.

Change-Id: I10332aac3d482c991cccd583c12489a9291c89bf
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail>
This commit is contained in:
宋文武 2025-02-02 12:34:57 +08:00 committed by Andreas Enge
parent 86e63b5037
commit d7ecd83d58
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -804,17 +804,7 @@ others.")
(("\"openconnect\"")
(string-append "\""
(search-input-file inputs "/sbin/openconnect")
"\"")))))
(add-after 'check 'wrap-qt-process-path
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin/openconnect-sso"))
(qt-process-path
(search-input-file inputs
"/lib/qt5/libexec/QtWebEngineProcess")))
(wrap-program bin
#:sh (search-input-file inputs "bin/bash")
`("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))))))))
"\""))))))))
(inputs
(list openconnect
poetry