From 9c8f68f4796f23c11173fa3f90c69bc85b224ac6 Mon Sep 17 00:00:00 2001 From: Josselin Poiret Date: Tue, 8 Feb 2022 19:05:40 +0100 Subject: [PATCH] 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 ;;; Copyright © 2021 Raghav Gururajan ;;; Copyright © 2021 jgart +;;; Copyright © 2022 Josselin Poiret ;;; ;;; 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