me
/
guix
Archived
1
0
Fork 0

gnu: sshuttle: Improve package style.

* gnu/packages/vpn.scm (sshuttle) [arguments]: Use G-expressions.

Change-Id: Ia8961e3382116d0f1e67a7feb181f1e0fd6a5caf
master
jgart 2024-07-23 19:11:04 -05:00
parent 103595d868
commit 54fe562019
No known key found for this signature in database
GPG Key ID: A52AA2B477B6DD35
1 changed files with 8 additions and 9 deletions

View File

@ -995,15 +995,14 @@ private network between hosts on the internet.")
(base32 "01hd7z7gxkc2bjxndnv5dw1x98qcakxli9k8w285iq2b7d786f7f")))) (base32 "01hd7z7gxkc2bjxndnv5dw1x98qcakxli9k8w285iq2b7d786f7f"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
`(#:phases (list #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-FHS-file-names (add-after 'unpack 'patch-FHS-file-names
(lambda _ (lambda _
(substitute* "sshuttle/client.py" (substitute* "sshuttle/client.py"
(("/usr/bin/env") (which "env"))) (("/usr/bin/env") (which "env")))
(substitute* "sshuttle/ssh.py" (substitute* "sshuttle/ssh.py"
(("/bin/sh") "sh")) (("/bin/sh") "sh")))))))
#t)))))
(native-inputs (native-inputs
(list python-setuptools-scm (list python-setuptools-scm
;; For tests only. ;; For tests only.