Hi, Thanks for the report. What is the Guix revision? And the Git commit against which you are running the test suite?
On Thu, 07 Apr 2022 at 19:31, Dennis Seidler via Bug reports for GNU Guix <bug-guix@gnu.org> wrote: > Syntax error: unexpected token : (ghc-options (-Wall)) (at line 11, column 2) > Syntax error: unexpected end of input > > ;;; (fail #f #f) > test-name: hackage->guix-package test mixed layout > location: /home/denyosef/guix/tests/hackage.scm:284 > source: > + (test-assert > + "hackage->guix-package test mixed layout" > + (eval-test-with-cabal > + test-cabal-mixed-layout > + match-ghc-foo)) > actual-value: #f > result: XFAIL This one is expected. No bug here, IMHO. [...] > FAIL: tests/guix-hash > ===================== > > + guix hash --version > guix hash (GNU Guix) 1.3.0.17414-e777c > Copyright (C) 2022 the Guix authors > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > + tmpdir=guix-hash-17836 > + trap 'rm -rf "$tmpdir"' EXIT > ++ guix hash /dev/null > + test 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73 = > 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73 > ++ echo -n > ++ guix hash - > + test 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73 = > 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73 > ++ guix hash -f nix-base32 /dev/null > + test 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73 = > 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73 > ++ guix hash -f hex /dev/null > + test e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 = > e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 > ++ guix hash -f base32 /dev/null > + test 4oymiquy7qobjgx36tejs35zeqt24qpemsnzgtfeswmrw6csxbkq = > 4oymiquy7qobjgx36tejs35zeqt24qpemsnzgtfeswmrw6csxbkq > ++ guix hash -H sha512 -f hex /dev/null > + test > cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e > = > cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e > ++ guix hash -H sha1 -f base64 /dev/null > + test 2jmj7l5rSw0yVb/vlWAYkK/YBwk= = 2jmj7l5rSw0yVb/vlWAYkK/YBwk= > ++ guix hash /dev/null /home/denyosef/guix/README > ++ guix hash /dev/null > ++ guix hash /home/denyosef/guix/README > + test '0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73 > 14qjv26jsbh4v648g095ig6ahczk7c9bas23ci1i60ljy8m1gx8p' = > '0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73 > 14qjv26jsbh4v648g095ig6ahczk7c9bas23ci1i60ljy8m1gx8p' > + guix hash > guix hash: error: no arguments specified > ++ guix hash -S git -H sha1 -f hex /dev/null > ;;; Failed to autoload git-hash-file in (disarchive git-hash): > ;;; no code for module (disarchive git-hash) > Backtrace: [...] I cannot reproduce. It is because you are missing the disarchive dependency; as you can see, Guix requires it: --8<---------------cut here---------------start------------->8--- $ guix show guix | recsel -p dependencies dependencies: autoconf@2.69 automake@1.16.3 bzip2@1.0.8 disarchive@0.4.0 + gettext-minimal@0.21 glibc-utf8-locales@2.33 gnutls@3.7.2 graphviz@2.49.0 + guile-avahi@0.4.0-1.6d43caf guile-gcrypt@0.3.0 guile-git@0.5.2 + guile-json@4.5.2 guile-lib@0.2.7 guile-lzlib@0.0.2 guile-lzma@0.1.1 + guile-sqlite3@0.1.2 guile-ssh@0.15.1 guile-zlib@0.1.0 guile-zstd@0.1.1 + guile@3.0.8 gzip@1.10 help2man@1.48.5 libgcrypt@1.8.8 pkg-config@0.29.2 + po4a@0.63 sqlite@3.36.0 texinfo@6.7 util-linux@2.37.2 --8<---------------cut here---------------end--------------->8--- Well, you generated the environment by manually install the dependencies. Instead, using “guix shell -D guix” does all the job for you. If you confirm the source of the bug, I propose to close. WDYT? Cheers, simon