Hi ludo! Thanks. You were correct. Thank you.

------ Original message------
From: Ludovic Courtès
Date: Fri, Apr 12, 2019 2:52 PM
To: brettg@posteo.net;
Cc: 35242@debbugs.gnu.org;
Subject:Re: bug#35242: Backtrace on building with load path

brettg@posteo.net skribis:

> brettg@guixsd ~/Repos/guix-system [env]$ guix build fstar -L .

[...]

> In gnu/packages.scm:
>    260:33  7 (fold-packages # …)
> In srfi/srfi-1.scm:
>    466:18  6 (fold # …)
> In guix/discovery.scm:
>    136:31  5 (_ "." ())
>    116:14  4 (scheme-modules _ _ #:warn _)
> In srfi/srfi-1.scm:
>    501:18  3 (fold-right # . #)
> In guix/discovery.scm:
>     66:32  2 (_ _ ("./channels.scm" "./non-gnu/packages/coq-extend.scm" "./non…" …))
> In srfi/srfi-1.scm:
>    501:18  1 (fold-right # . #)
> In unknown file:
>            0 (append # ())

It looks like the error happens while traversing the “.” directory with
your own files.  Could you try inspecting it, or perhaps removing some
of the files until you find the culprit?

Thanks,
Ludo’.