mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 13:09:23 -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"
|
(substitute* "conda/core/initialize.py"
|
||||||
(("python_exe = join")
|
(("python_exe = join")
|
||||||
(format #f "python_exe = \"~a/bin/python\" #"
|
(format #f "python_exe = \"~a/bin/python\" #"
|
||||||
python))))
|
python))))))
|
||||||
#t))
|
|
||||||
(add-after 'unpack 'do-not-use-python-root-as-prefix
|
(add-after 'unpack 'do-not-use-python-root-as-prefix
|
||||||
(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"))
|
||||||
|
@ -1066,13 +1065,11 @@ (define-public conda
|
||||||
(("os.path.join\\(sys.prefix, bin_dir, exe\\)")
|
(("os.path.join\\(sys.prefix, bin_dir, exe\\)")
|
||||||
(format #f "\"~a/bin/conda\"" out))
|
(format #f "\"~a/bin/conda\"" out))
|
||||||
(("'CONDA_EXE', sys.executable")
|
(("'CONDA_EXE', sys.executable")
|
||||||
(format #f "'CONDA_EXE', \"~a/bin/conda\"" out))))
|
(format #f "'CONDA_EXE', \"~a/bin/conda\"" out))))))
|
||||||
#t))
|
|
||||||
(add-before 'build 'create-version-file
|
(add-before 'build 'create-version-file
|
||||||
(lambda _
|
(lambda _
|
||||||
(with-output-to-file "conda/.version"
|
(with-output-to-file "conda/.version"
|
||||||
(lambda () (display ,version)))
|
(lambda () (display ,version)))))
|
||||||
#t))
|
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "HOME" "/tmp")
|
(setenv "HOME" "/tmp")
|
||||||
|
|
Loading…
Reference in a new issue