mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: conda: Use 'invoke'.
* gnu/packages/package-management.scm (conda)[arguments]: Use 'invoke'.
This commit is contained in:
parent
675e7bba3e
commit
d691e96657
1 changed files with 3 additions and 3 deletions
|
@ -786,7 +786,7 @@ (define-public conda
|
||||||
;; application form, rather than the default, library form.
|
;; application form, rather than the default, library form.
|
||||||
;; With this, we are able to run commands like `conda --help`
|
;; With this, we are able to run commands like `conda --help`
|
||||||
;; directly on the command line
|
;; directly on the command line
|
||||||
(zero? (system* "python" "utils/setup-testing.py" "build_py"))))
|
(invoke "python" "utils/setup-testing.py" "build_py")))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
@ -802,8 +802,8 @@ (define-public conda
|
||||||
|
|
||||||
;; And it aborts if the directory doesn't exist.
|
;; And it aborts if the directory doesn't exist.
|
||||||
(mkdir-p target)
|
(mkdir-p target)
|
||||||
(zero? (system* "python" "utils/setup-testing.py" "install"
|
(invoke "python" "utils/setup-testing.py" "install"
|
||||||
(string-append "--prefix=" out))))))
|
(string-append "--prefix=" out)))))
|
||||||
;; The "activate" and "deactivate" scripts don't need wrapping.
|
;; The "activate" and "deactivate" scripts don't need wrapping.
|
||||||
;; They also break when they are renamed.
|
;; They also break when they are renamed.
|
||||||
(add-after 'wrap 'undo-wrap
|
(add-after 'wrap 'undo-wrap
|
||||||
|
|
Loading…
Reference in a new issue