On Tue, 23 Aug 2016 13:56:39 +0300 Alex Kost <alez...@gmail.com> wrote:
> Björn Höfling (2016-08-23 00:10 +0300) wrote: > > Is that my problem? How can I script over the newest pull? > > "guix pull" updates "~/.config/guix/latest" link, and when you run > "guix" command, it uses the packages from that directory. So after > "guix pull" you'll get the latest package recipes for "guix ..." > commands. > > But "guix pull" doesn't influence your guile script that uses guix > modules from some directories that come from GUILE_LOAD_PATH and > GUILE_LOAD_COMPILED_PATH. So to make your script use those fresh > "guix-pulled" modules, you can modify these environment variables to > include "/home/<you>/.config/guix/latest". Yes, when setting the GUILE_LOAD_PATH that way, counting will increase witha guix pull. > An alternative is to use guix directly from a git checkout. > See (info "(guix) Building from Git") for details. Will try that also at a later time. Thank you, Björn