jgart pushed a commit to branch master
in repository guix.
commit 54fe562019d26d09acd3e29e09a718d451074c9d
Author: jgart <[email protected]>
AuthorDate: Tue Jul 23 19:11:04 2024 -0500
gnu: sshuttle: Improve package style.
* gnu/packages/vpn.scm (sshuttle) [arguments]: Use G-expressions.
Change-Id: Ia8961e3382116d0f1e67a7feb181f1e0fd6a5caf
---
gnu/packages/vpn.scm | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index 956a769199..199f523461 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -995,15 +995,14 @@ private network between hosts on the internet.")
(base32 "01hd7z7gxkc2bjxndnv5dw1x98qcakxli9k8w285iq2b7d786f7f"))))
(build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-FHS-file-names
- (lambda _
- (substitute* "sshuttle/client.py"
- (("/usr/bin/env") (which "env")))
- (substitute* "sshuttle/ssh.py"
- (("/bin/sh") "sh"))
- #t)))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-FHS-file-names
+ (lambda _
+ (substitute* "sshuttle/client.py"
+ (("/usr/bin/env") (which "env")))
+ (substitute* "sshuttle/ssh.py"
+ (("/bin/sh") "sh")))))))
(native-inputs
(list python-setuptools-scm
;; For tests only.