you might have stumbled on this issue: (current-filename) is #f when guix pull'ing https://issues.guix.gnu.org/55464
the discussion contains analysis and some things to try, and also a working solution that i'm currently using in my channel at: https://github.com/attila-lendvai/guix-crypto (see the `read-hashes-file` macro) the extra twist is that it works fine while working on the code from e.g. emacs + geiser, but when you package it into a commit and try to `guix pull` the same code from the channel then it fails, and IIRC in some non-obvious way. HTH, -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Him that I love, I wish to be free – even from me.” — Anne Morrow Lindbergh (1906–2001)