[PATCH] gnu: sbcl-py4cl: Fix path to py4cl.py.

  • Done
  • quality assurance status badge
Details
2 participants
  • Guillaume Le Vaillant
  • Paul A. Patience
Owner
unassigned
Submitted by
Paul A. Patience
Severity
normal
P
P
Paul A. Patience wrote on 12 Apr 2022 04:08
(address . guix-patches@gnu.org)(name . Paul A. Patience)(address . paul@apatience.com)
20220412020807.35559-1-paul@apatience.com
* gnu/packages/lisp-xyz.scm (sbcl-py4cl)[arguments]: Fix the path which
replaces py4cl/config:*base-directory*.
---

Hello,

This patch fixes the problem with sbcl-py4cl, but I suspect that the cl-py4cl
and ecl-py4cl packages were and remain broken, as the paths are different; for
example, cl-py4cl's py4cl.py is located in
/STORE-PATH/share/common-lisp/source/cl-py4cl/py4cl.py.
Unfortunately, I'm not sure how to address that in the package definition.

gnu/packages/lisp-xyz.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (13 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 358bba4e89..b356c96f84 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -5192,7 +5192,7 @@ (define-public sbcl-py4cl
(string-append
"\""
(assoc-ref outputs "out")
- "/share/common-lisp/sbcl-source/py4cl/"
+ "/share/common-lisp/sbcl/py4cl/"
"\""))))))))
(synopsis "Call python from Common Lisp")
(description
--
2.35.1
G
G
Guillaume Le Vaillant wrote on 12 Apr 2022 14:05
(name . Paul A. Patience)(address . paul@apatience.com)(address . 54875-done@debbugs.gnu.org)
87fsmiwlmd.fsf@kitej
Patch pushed as 1f22508a8a973a20cf33ba1d7f0869ada8258617, with the
hardcoded "sbcl" replaced by a call to the '%lisp-type' function which
should do the right thing.
Thanks.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYlVrig8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j96ZQD9GLftuTUhrLNFXOe2+LeXgo8YdM33S0hBNyQG
wD7DUgYA/icmbUIlxGmX46WlubQ/xoH4/f9q/YJqckFPm8oUR3wr
=L6tB
-----END PGP SIGNATURE-----

Closed
?