mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-22 02:29:24 -05:00
gnu: cl-py4cl: Fix path to python3.
* gnu/packages/lisp-xyz.scm (sbcl-py4cl)[arguments]: Add the 'fix-python3-path' phase. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
parent
1f22508a8a
commit
917c25b3ba
1 changed files with 6 additions and 0 deletions
|
@ -5181,6 +5181,12 @@ (define-public sbcl-py4cl
|
|||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-python3-path
|
||||
(lambda _
|
||||
(substitute* "src/callpython.lisp"
|
||||
(("\\*python-command\\* \"python\"")
|
||||
(string-append "*python-command* "
|
||||
"\"" (which "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