input-output-hk / input-output-hk/stack2nix
Leaving out name field in resolver has confusing error message
Open
- Dominant language
- Nix
- Stars
- 100
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
- You get a very unhelpful error if your resolver file does not have a `name:` field
_Originally posted by @codygman in https://github.com/input-output-hk/haskell.nix/issues/1157#issuecomment-873181947_
Maybe we should make it optional?
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue does not name a file, test, or entry point. Start by locating the resolver-file parsing path and reproduce the error with the name field omitted; clarify whether the intended outcome is a more helpful error or making name optional, then add coverage for the chosen behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100