1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-30 14:01:15 +02:00

gnu: protonvpn-cli: Do not try to wrap the wrapper.

* gnu/packages/vpn.scm (protonvpn-cli)[arguments]: Try to wrap the
original program, and not the wrapper, as wrap-program handles that
properly.
This commit is contained in:
Josselin Poiret
2022-02-08 19:05:40 +01:00
committed by Brice Waegeneire
parent 47eb897bd3
commit 9c8f68f479

View File

@@ -18,6 +18,7 @@
;;; Copyright © 2021 Domagoj Stolfa <ds815@gmx.com>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 jgart <jgart@dismail.de>
;;; Copyright © 2022 Josselin Poiret <josselin.poiret@protonmail.ch>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -753,7 +754,7 @@ traversing network address translators (@dfn{NAT}s) and firewalls.")
;; Wrap entrypoint with paths to its hard dependencies.
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((entrypoint (string-append (assoc-ref outputs "out")
"/bin/.protonvpn-real")))
"/bin/protonvpn")))
(wrap-program entrypoint
#:sh (search-input-file inputs "bin/bash")
`("PATH" ":" prefix