gnu: conda: Use 'invoke'.

* gnu/packages/package-management.scm (conda)[arguments]: Use 'invoke'.
This commit is contained in:
Efraim Flashner 2019-01-13 12:38:17 +02:00
parent 675e7bba3e
commit d691e96657
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 3 additions and 3 deletions

View File

@ -786,7 +786,7 @@ This package provides Conda as a library.")
;; application form, rather than the default, library form.
;; With this, we are able to run commands like `conda --help`
;; directly on the command line
(zero? (system* "python" "utils/setup-testing.py" "build_py"))))
(invoke "python" "utils/setup-testing.py" "build_py")))
(replace 'install
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@ -802,8 +802,8 @@ This package provides Conda as a library.")
;; And it aborts if the directory doesn't exist.
(mkdir-p target)
(zero? (system* "python" "utils/setup-testing.py" "install"
(string-append "--prefix=" out))))))
(invoke "python" "utils/setup-testing.py" "install"
(string-append "--prefix=" out)))))
;; The "activate" and "deactivate" scripts don't need wrapping.
;; They also break when they are renamed.
(add-after 'wrap 'undo-wrap