Subject: bug#35242: Backtrace on building with load path

From: Ludovic Courtès <[email-masked]>
Date: Fri, 12 Apr 2019 21:52:28 +0200

[email-masked] skribis:

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

[...]

> In gnu/packages.scm:
>    260:33  7 (fold-packages #<procedure 7fa491ff5cf0 at gnu/packages.scm:304:35 …> …)
> In srfi/srfi-1.scm:
>    466:18  6 (fold #<procedure 14fc100 at guix/discovery.scm:133:8 (spec result)> …)
> In guix/discovery.scm:
>    136:31  5 (_ "." ())
>    116:14  4 (scheme-modules _ _ #:warn _)
> In srfi/srfi-1.scm:
>    501:18  3 (fold-right #<procedure 14fc0c0 at guix/discovery.scm:56:14 (entr…> . #)
> 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 #<procedure 16566c0 at guix/discovery.scm:56:14 (entr…> . #)
> In unknown file:
>            0 (append #<unspecified> ())

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’.