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:
Paul A. Patience 2022-04-12 02:55:35 +00:00 committed by Guillaume Le Vaillant
parent 1f22508a8a
commit 917c25b3ba
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F

View File

@ -5181,6 +5181,12 @@ port within a range.")
(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