Vincent Legoll <vincent.leg...@gmail.com> skribis: > Hello, > >> How's the following totally untested, probably buggy patch ? > > After painful testing (I have to remove the .config/guix/latest symlink > each time, make it point back to ~/guix_git with my modifications, and > it recompiles a whole bunch of scm files...) > > Any idea how to improve that ? > >> it's in RFC, to show the intended effects... > > I fixed a few silly mistakes... > >> What's inside: >> >> - create a symlink /gnu/store/latest pointing to the last installed >> /gnu/store/*-guix-latest > > This is failing with : > > guix pull: error: symlink: Read-only file system: "/gnu/store/latest.new"
/gnu/store is read-only, except for guix-daemon, so ‘guix pull’ cannot write to it. > * I don't think I fully understand that, as the "->" in the mlet* for > instance, I > couldn't find explanations in guile's refman nor guix's... (mlet %store-monad ((x -> foo)) (bar)) is equivalent to: (let ((x foo)) (bar)) Ludo’.