aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/finance.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/finance.scm')
-rw-r--r--gnu/packages/finance.scm7
1 files changed, 3 insertions, 4 deletions
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)