[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/15: gnu: openconnect-sso: Remove input labels.
From: |
guix-commits |
Subject: |
13/15: gnu: openconnect-sso: Remove input labels. |
Date: |
Thu, 11 Aug 2022 16:00:49 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 25c2a2fdb21742f479df113202e7955f3a1ccc52
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Aug 11 18:51:58 2022 +0200
gnu: openconnect-sso: Remove input labels.
* gnu/packages/vpn.scm (openconnect-sso)[arguments]: Don't attempt to use a
non-existent QtWebEngine label. While at it, use SEARCH-INPUT-FILE also for
openconnect and remove trailing #t's.
---
gnu/packages/vpn.scm | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index 17dd163c53..c4e0287bf8 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -722,27 +722,26 @@ and probably others.")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-openconnect
- (lambda _
+ (lambda* (#:key inputs #:allow-other-keys)
(substitute* "openconnect_sso/app.py"
(("\"openconnect\"")
- (string-append "\"" (which "openconnect") "\"")))
- #t))
+ (string-append "\""
+ (search-input-file inputs "/sbin/openconnect")
+ "\"")))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (invoke "pytest" "-v"))
- #t))
+ (invoke "pytest" "-v"))))
(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/openconnect-sso"))
- (qt-process-path (string-append
- (assoc-ref inputs "qtwebengine-5")
- "/lib/qt5/libexec/QtWebEngineProcess")))
+ (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)))
- #t))))))
+ `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))))))))
(inputs
(list openconnect
python-attrs
- 01/15: gnu: python-pyicu: Update home page., (continued)
- 01/15: gnu: python-pyicu: Update home page., guix-commits, 2022/08/11
- 05/15: gnu: libvirt: Remove input labels., guix-commits, 2022/08/11
- 04/15: gnu: libvirt, python-libvirt: Update to 8.6.0., guix-commits, 2022/08/11
- 07/15: gnu: python-libvirt: Add 'upstream-name' property., guix-commits, 2022/08/11
- 10/15: gnu: mediasdk: Build reproducibly., guix-commits, 2022/08/11
- 09/15: gnu: mediasdk: Remove input labels., guix-commits, 2022/08/11
- 06/15: gnu: libvirt: Use G-expression., guix-commits, 2022/08/11
- 02/15: gnu: python-pyicu: Update to 2.9., guix-commits, 2022/08/11
- 03/15: gnu: catch2@1: Adjust for glibc 2.34 and later., guix-commits, 2022/08/11
- 14/15: gnu: ntfs-3g: Add release-monitoring-url and upstream-name., guix-commits, 2022/08/11
- 13/15: gnu: openconnect-sso: Remove input labels.,
guix-commits <=
- 15/15: gnu: ntfs-3g: Update to 2022.5.17., guix-commits, 2022/08/11
- 11/15: gnu: folks: Update to 0.15.5., guix-commits, 2022/08/11
- 08/15: gnu: mediasdk: Update to 22.4.4., guix-commits, 2022/08/11
- 12/15: gnu: tracker: Update to 3.3.3., guix-commits, 2022/08/11