mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: conda: Remove trailing #T from build phases.
* gnu/packages/package-management.scm (conda)[arguments]: Remove trailing #T from build phases.
This commit is contained in:
parent
ebde19092f
commit
d26337e7ef
1 changed files with 3 additions and 6 deletions
|
@ -1042,8 +1042,7 @@ (define-public conda
|
|||
(substitute* "conda/core/initialize.py"
|
||||
(("python_exe = join")
|
||||
(format #f "python_exe = \"~a/bin/python\" #"
|
||||
python))))
|
||||
#t))
|
||||
python))))))
|
||||
(add-after 'unpack 'do-not-use-python-root-as-prefix
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
|
@ -1066,13 +1065,11 @@ (define-public conda
|
|||
(("os.path.join\\(sys.prefix, bin_dir, exe\\)")
|
||||
(format #f "\"~a/bin/conda\"" out))
|
||||
(("'CONDA_EXE', sys.executable")
|
||||
(format #f "'CONDA_EXE', \"~a/bin/conda\"" out))))
|
||||
#t))
|
||||
(format #f "'CONDA_EXE', \"~a/bin/conda\"" out))))))
|
||||
(add-before 'build 'create-version-file
|
||||
(lambda _
|
||||
(with-output-to-file "conda/.version"
|
||||
(lambda () (display ,version)))
|
||||
#t))
|
||||
(lambda () (display ,version)))))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp")
|
||||
|
|
Loading…
Reference in a new issue