installer: Use 'current-guix' for extensions.

This lets us use the latest (gnu build linux-modules) for instance.
Note that items listed in 'with-extensions' come first in the load path,
before the directory containing the modules in 'with-imported-modules'.

* gnu/installer.scm (installer-program): Use (current-guix) instead of
'guix' in 'with-extensions'.
This commit is contained in:
Ludovic Courtès 2022-11-03 18:01:49 +01:00
parent afbd4d8470
commit 938d6161cb
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -358,7 +358,7 @@ (define installer-builder
(with-extensions (list guile-gcrypt guile-newt
guile-parted guile-bytestructures
guile-json-3 guile-git guile-webutils
guix gnutls)
(current-guix) gnutls)
(with-imported-modules `(,@(source-module-closure
`(,@modules
(gnu services herd)