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
View this message in rfc822 format
Hi,
Christopher Baines <mail <at> cbaines.net> skribis:
> Rather than (guix scripts repl), from which the machine-repl procedure was
> removed in [1].
>
> 1: 92a4087bf4862d5ba9b77111eba3c68c2a1c4679
>
> * guix/inferior.scm (inferior-pipe): Load (guix repl) rather than (guix
> scripts repl).
> ---
> guix/inferior.scm | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/guix/inferior.scm b/guix/inferior.scm
> index dcbc954432..d6d2053ab8 100644
> --- a/guix/inferior.scm
> +++ b/guix/inferior.scm
> @@ -136,8 +136,8 @@ it's an old Guix."
> (object->string
> `(begin
> (primitive-load ,(search-path %load-path
> - "guix/scripts/repl.scm"))
> - ((@ (guix scripts repl) machine-repl))))))
> + "guix/repl.scm"))
> + ((@ (guix repl) machine-repl))))))
> pipe)))
This one LGTM!
(Note that this code is only used when spawning an inferior for a
revision that dates back to before ‘guix repl’ existed, so before July
2018.)
Thanks,
Ludo’.
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.