Hi Edouard, Edouard Klein <[email protected]> writes:
> Hi all, > > Here is a fun one: > > Run: guix time-machine --channels=/tmp/last-good.scm -- system image -t > qcow2 -e '(use-modules (beaver system)) (minimal-ovh)' > > And you'll get > /gnu/store/naijarz2br4m7sdhw5dzyrx1wl2ynf69-image.qcow2 > > So far, so good. > > Now run guix time-machine --channels=/tmp/first-bad.scm -- system image -t > qcow2 -e '(use-modules (beaver system)) (minimal-ovh)' > > and you'll get "In procedure struct-vtable: Wrong type argument in > position 1 (expecting struct): #<syntax-transformer > dhcp-client-service-type>" These syntax-transformer errors happen when the Guile code is evaluated without being byte-compiled first, I think. You can sometimes see this when working with './pre-inst-env guix ...' if you haven't rebuilt everything with 'make'. I don't know how it could be changed/improved; maybe Guile could handle this better? Maybe in one case the channel is fyll byte-compiled, and in another case it's not? -- Thanks, Maxim
