Subject: Re: bug#33180: guix pull fails in a directory with scm files
From: Björn Höfling <[email-masked]>
To: Julien Lepiller <[email-masked]>
Cc: [email-masked]
Date: Tue, 30 Oct 2018 11:05:13 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

On Sun, 28 Oct 2018 07:36:38 +0100
Julien Lepiller <[email-masked]> wrote:

> I had a similar issue, with every guix comand failing. It was due to
> GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH ending with “:”. Can you
> check the value of these variables?

Yes, that was the problem here:

export GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/2.2:$GUILE_LOAD_PATH

Now I learned what that :+:-notation is for and used it:

export GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/2.2${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH

Thanks,

Björn