guix-commits
[Top][All Lists]
Advanced

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

05/12: gnu: electron-cash: Fix share/ location.


From: guix-commits
Subject: 05/12: gnu: electron-cash: Fix share/ location.
Date: Sun, 23 Aug 2020 22:55:11 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 44da87334da74cbbeb20e5819c767fc886cf7aac
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Aug 24 03:56:01 2020 +0200

    gnu: electron-cash: Fix share/ location.
    
    * 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(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 6ffdff5..12da422 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)



reply via email to

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