From 917c25b3ba0575c6c6e44f8af0d1365bb2378220 Mon Sep 17 00:00:00 2001 From: "Paul A. Patience" Date: Tue, 12 Apr 2022 02:55:35 +0000 Subject: 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 --- gnu/packages/lisp-xyz.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/packages/lisp-xyz.scm') diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 16dbad904b..0065f56e7e 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -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 -- cgit v1.2.3