On Mon, Sep 14, 2020 at 11:32:42AM +0200, Andreas Enge wrote: > Hello Mathieu, > > thanks for your helpful reply! > > On Wed, Sep 09, 2020 at 11:11:18AM +0200, Mathieu Othacehe wrote: > > That does not really explain the error though, but that's another > > issue. The pending patch here[1], will hopefully help users specify > > their target image. It means that you should be able to write: > > > > --8<---------------cut here---------------start------------->8--- > > guix system disk-image -t novena config.scm > > --8<---------------cut here---------------end--------------->8--- > > That looks really interesting, but I cannot meaningfully comment on the > bug report. Maybe it is time after the summer vacation season to poke > people more competent on the subject to comment :) > > > Until then, running something like: > > --8<---------------cut here---------------start------------->8--- > > (run-with-store (open-connection) > > (mlet* %store-monad > > ((drv (lower-object (system-image my-image "armhf-linux"))) > > (build (built-derivations (list drv)))) > > (return #t))) > > --8<---------------cut here---------------end--------------->8--- > > If by running you mean calling "guile the-above-file.scm", then I get > strange results. I just did a "guix system reconfigure"; "which guile" > returns "/run/current-system/profile/bin/guile". However then I get lots > of suspicious messages of this kind: > ;;; In procedure load-thunk-from-memory: incompatible bytecode version > ;;; WARNING: compilation of /run/current-system/profile/share/guile/site/3.0/guix/diagnostics.scm failed: > ;;; Unbound variable: trivial-format-string? > > How can byte codes be incompatible if on one hand they are part of the > profile, on the other hand I am running guile from the same profile? > > Andreas > I'm not sure about the trivial-format-string? warning (we should probably investigate that). Guix is built with guile 3.0.2 and we have guile-3.0.4. There was an unfortunate soversion bump with guile-3.0.2 and we've been having the incompatible bytecode version since with guile programs. I've noticed it when launching shepherd as my user. -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted