guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 01/02: gnu: protonvpn-cli: Do not try to wrap the wrapper.
Date: Sat, 12 Feb 2022 08:16:42 -0500 (EST)

bricewge pushed a commit to branch master
in repository guix.

commit 9c8f68f4796f23c11173fa3f90c69bc85b224ac6
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Tue Feb 8 19:05:40 2022 +0100

    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.
---
 gnu/packages/vpn.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index 7f1d10d1eb..9fd0e4493d 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]