Subject: [PATCH 2/2] gnu: protonvpn-cli: Remove sanity-check phase.

From: Josselin Poiret <[email-masked]>
Date: Tue, 8 Feb 2022 19:05:41 +0100

* gnu/packages/vpn.scm (protonvpn-cli)[arguments]: Remove sanity-check
phase.
---
 gnu/packages/vpn.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index 150dfa31b5..170ec1b663 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -768,7 +768,11 @@ (define-public protonvpn-cli
                                           "openvpn"
                                           "procps"
                                           "which")))))
-             #t)))))
+             #t))
+         ;; The `protonvpn' script wants to write to `~user' to initialize its
+         ;; logger, so simply setting HOME=/tmp won't cut it.  Remove
+         ;; sanity-check.
+         (delete 'sanity-check))))
     (native-inputs
      (list python-docopt))
     (inputs
-- 
2.34.0