haskell.nix icon indicating copy to clipboard operation
haskell.nix copied to clipboard

Better error message for unplanned components

Open hamishmack opened this issue 3 years ago • 1 comments

While using cabal-to-nix to replace a package in an existing project @shlevy and I had an issue where we got an error similar to #1372. It turned out that we had not set the .components.libarary.planned and as a result packages that depended on it could not find the library.

The error message we got was very unhelpful and I think it should be possible (perhaps by including a simple stub in place of the missing component) to have a message that said something like "The component foo is not available because it was not in the plan".

hamishmack avatar Feb 22 '22 23:02 hamishmack

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 28 '22 14:09 stale[bot]