mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 04:29:25 -05:00
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.
This commit is contained in:
parent
110888f85f
commit
44da87334d
1 changed files with 3 additions and 4 deletions
|
@ -517,11 +517,10 @@ (define-public electron-cash
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue