mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05: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:
parent
47eb897bd3
commit
9c8f68f479
1 changed files with 2 additions and 1 deletions
|
@ -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 @@ (define-public protonvpn-cli
|
|||
;; 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
|
||||
|
|
Loading…
Reference in a new issue