Open ee7 opened 2 years ago
And if I do these steps (the second line removes the nimcache
and nimblecache
directories on my machine):
trash ~/.nimble/pkgs/configlet*
trash /tmp/nim*
git clone https://github.com/exercism/configlet /tmp/configlet
cd /tmp/configlet
git checkout 4.0.0-beta.5
nimble install
I get another error:
Error: Could not read package info file in /home/foo/.nimble/pkgs/configlet-4.0.0/configlet.nimble;
... Reading as ini file failed with:
... Invalid section: .
... Evaluating as NimScript file failed with:
... /home/foo/.nimble/pkgs/configlet-4.0.0/configlet.nimble(6, 22) Error: cannot open file: configlet.version
... printPkgInfo() failed.
So maybe this didn't work for a while? I won't bisect right now.
I never use nimble install
for configlet myself, so I didn't notice this.
Both the build workflow (which only runs on release) and the tests workflow use
nimble --accept install --depsOnly
, which does work. So it looks like this will only affect people who clone the configlet repo and then runnimble install
.The cause is probably https://github.com/exercism/configlet/commit/1a295da327cd1e647a7feffe0387857e787eb30b.
Reported by @ErikSchierboom