From 44da87334da74cbbeb20e5819c767fc886cf7aac Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 24 Aug 2020 03:56:01 +0200 Subject: gnu: electron-cash: Fix share/ location. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/finance.scm (electron-cash)[arguments]: Drop bogus ‘local/share’ subdirectory: rename ‘patch-home’ to ‘create-output-directories’ and adjust body to match. --- gnu/packages/finance.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 6ffdff5d6e..12da4225dc 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -517,11 +517,10 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.") (guix build qt-utils)) #:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-home + (add-after 'unpack 'create-output-directories (lambda* (#:key outputs #:allow-other-keys) - (substitute* "setup.py" - (("~/.local/share") - (string-append (assoc-ref outputs "out") "/local/share"))) + ;; setup.py installs to ~/.local/share if this doesn't exist. + (mkdir-p (string-append (assoc-ref outputs "out") "/share")) #t)) (add-after 'unpack 'use-libsecp256k1-input (lambda* (#:key inputs #:allow-other-keys) -- cgit v1.2.3