Dear Guixters, Hope you are doing well !
I am working on the package definition for https://framagit.org/Jeko/guile-spec (file: guix.scm). It is a set of macro based on SRFI-64. The definition's inputs field is filled with guile-3.0 (or the guix build reports an error with a stack trace I can't understand haha). For Guix users willing to try guile-spec before installing it, I know guix environment can help. But… When I use guild (with highest warning level) to compile t.scm[1] in an environment based on this definition, it raises unknown warnings : $ guix environment -l guix.scm -- guild compile -W3 /tmp/t.scm warning: unknown warning type `#{3}#' wrote `/home/jeko/.cache/guile/ccache/3.0-LE-8-4.2/tmp/t.scm.go' When I call it outside of the environment, the warning is fine : $ guild compile -W3 /tmp/t.scm /tmp/t.scm:3:0: warning: unused variable `name' wrote `/home/jeko/.cache/guile/ccache/3.0-LE-8-4.4/tmp/t.scm.go' When I remove Guile from the definition's inputs fiels, the warning is fine : $ guix environment -l guix.scm -- guild compile -W3 /tmp/t.scm /tmp/t.scm:3:0: warning: unused variable `name' wrote `/home/jeko/.cache/guile/ccache/3.0-LE-8-4.4/tmp/t.scm.go' [1] t.scm doesn't use guile-spec macro to narrow the context $ cat /tmp/t.scm (use-modules (srfi srfi-64)) (test-begin "group") (test-assert "test" #t) (test-end) How can I make it to work ? Maybe I misuse something here… Let me know ! Cheers, Jérémy