--- Begin Message ---
Subject: |
[PATCH] gnu: sbcl-py4cl: Fix path to python3. |
Date: |
Tue, 12 Apr 2022 02:55:35 +0000 |
* gnu/packages/lisp-xyz.scm (sbcl-py4cl)[arguments]: Add the
'fix-python3-path phase which sets py4cl:*python-command* to the
absolute path to python3.
---
gnu/packages/lisp-xyz.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 358bba4e89..10a46d4b9a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -5180,6 +5180,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
--
2.35.1
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#54876] [PATCH] gnu: sbcl-py4cl: Fix path to python3. |
Date: |
Tue, 12 Apr 2022 12:07:45 +0000 |
Patch pushed as 917c25b3ba0575c6c6e44f8af0d1365bb2378220.
Thanks.
signature.asc
Description: PGP signature
--- End Message ---