GNU bug report logs -
#37553
[PATCH] inferior: Change to using guix-repl.
Previous Next
Reported by: Christopher Baines <mail <at> cbaines.net>
Date: Sun, 29 Sep 2019 13:02:01 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Rather than machine-repl, that was removed in [1]. While this could work if
the %load-path is such that a module that defines machine-repl is loaded, I
believe the intent is that the (guix scripts repl) module comes from the Guix
managing the inferior. Therefore, matching the changes in [1], switch to
calling the guix-repl function with the right arguments.
1: 92a4087bf4862d5ba9b77111eba3c68c2a1c4679
* guix/inferior.scm (inferior-pipe): Call guix-repl, rather than machine-repl,
and add necessary arguments.
---
guix/inferior.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/inferior.scm b/guix/inferior.scm
index dcbc954432..7c0143062b 100644
--- a/guix/inferior.scm
+++ b/guix/inferior.scm
@@ -137,7 +137,8 @@ it's an old Guix."
`(begin
(primitive-load ,(search-path %load-path
"guix/scripts/repl.scm"))
- ((@ (guix scripts repl) machine-repl))))))
+ ((@ (guix scripts repl) guix-repl)
+ "-t" "machine")))))
pipe)))
(define* (port->inferior pipe #:optional (close close-port))
--
2.23.0
This bug report was last modified 5 years and 293 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.