Josselin Poiret <d...@jpoiret.xyz> writes: > * guix/scripts/repl.scm: Add (gnu packages) to the used modules so that > channel > Scheme files are available straight away. > --- > Hi both of you, > > I don't think there's a reason for that, other than no one realizing before. > Here's a simple fix, freshly tested. > > guix/scripts/repl.scm | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/guix/scripts/repl.scm b/guix/scripts/repl.scm > index 787c63d48e..407f5b2b38 100644 > --- a/guix/scripts/repl.scm > +++ b/guix/scripts/repl.scm > @@ -22,6 +22,7 @@ (define-module (guix scripts repl) > #:use-module (guix ui) > #:use-module (guix scripts) > #:use-module (guix repl) > + #:use-module (gnu packages) ;; To extend %load-path with channels It's not clear to me why load (gnu packages) will/should extend %load-path, a suprise side effect!
bug#61343: [PATCH] scripts: repl: Load (gnu packages) to set up %load-path.
宋文武 via Bug reports for GNU Guix Thu, 16 Feb 2023 19:11:31 -0800
- bug#61343: modules from chann... 宋文武 via Bug reports for GNU Guix
- bug#61343: modules from ... Simon Tournier
- bug#61343: [PATCH] s... Josselin Poiret via Bug reports for GNU Guix
- bug#61343: [PATC... 宋文武 via Bug reports for GNU Guix
- bug#61574: [PATC... Simon Tournier
- bug#61574: [... Ludovic Courtès
- bug#613... Andrew Tropin
- bug#61343: [PATC... Simon Tournier