mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 03:45:24 -05:00
gnu: cl-py4cl: Improve package definition.
This is a follow-up to 917c25b3ba
.
* gnu/packages/lisp-xyz.scm (sbcl-py4cl)[propagated-inputs]: Move python
to...
[inputs]: ... here.
[arguments]: Use 'search-input-file' instead of 'which' in
'fix-python3-path' phase.
This commit is contained in:
parent
917c25b3ba
commit
59377f88ed
1 changed files with 6 additions and 6 deletions
|
@ -5172,21 +5172,21 @@ (define-public sbcl-py4cl
|
|||
(native-inputs
|
||||
(list sbcl-clunit))
|
||||
(inputs
|
||||
(list sbcl-trivial-garbage))
|
||||
(list python sbcl-trivial-garbage))
|
||||
(propagated-inputs
|
||||
;; This package doesn't do anything without python available
|
||||
(list python
|
||||
;; For multi-dimensional array support
|
||||
(list ;; For multi-dimensional array support
|
||||
python-numpy))
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-python3-path
|
||||
(lambda _
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "src/callpython.lisp"
|
||||
(("\\*python-command\\* \"python\"")
|
||||
(string-append "*python-command* "
|
||||
"\"" (which "python3") "\"")))))
|
||||
"\""
|
||||
(search-input-file inputs "/bin/python3")
|
||||
"\"")))))
|
||||
(add-after 'unpack 'replace-*base-directory*-var
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; In the ASD, the author makes an attempt to
|
||||
|
|
Loading…
Reference in a new issue