[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Counting Packages yields wrong result
From: |
Björn Höfling |
Subject: |
Re: Counting Packages yields wrong result |
Date: |
Thu, 25 Aug 2016 22:01:14 +0200 |
On Tue, 23 Aug 2016 13:56:39 +0300
Alex Kost <address@hidden> 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