Description
StackSnapshot
includes a Name
that stack
does not require to be present in resolver.yaml
files - nor is it used later on by Stack2nix.
This currently fails with the uninformative error
building '/nix/store/bchydzmscf902zzf7wlgnq5949px2w0s-stack-repos.drv'...
substituteStream(): WARNING: pattern '# nix-sha256:' doesn't match anything in file 'stack.yaml'
stack-repos: AesonException "Error in $: key "name" not found"
CallStack (from HasCallStack):
error, called at lib/Stack2nix/External/Resolve.hs:45:25 in nix-tools-0.1.0.0-6VebEDwtbke5HHKMYxPZB7:Stack2nix.External.Resolve
builder for '/nix/store/bchydzmscf902zzf7wlgnq5949px2w0s-stack-repos.drv' failed with exit code 1
error: build of '/nix/store/bchydzmscf902zzf7wlgnq5949px2w0s-stack-repos.drv' failed
(use '--show-trace' to show detailed location information)