-
Notifications
You must be signed in to change notification settings - Fork 247
Add shell.allDeps
as a fix for #1793
#1794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
shell.allDeps
as a fixshell.allDeps
as a fix for #1793
#1769 added all the tool dependencies of the hsPkgs in a project to the shell. This is great for cabal projects where the set of packages will be limited to those in the plan. It allows these packages to be rebuilt by cabal. For stack projects however this set is much larger (all of stackage), likely to include unwanted tools and tools that may be broken. This change adds `shell.allDeps` and defaults it to `false` for stack projects. Fixes #1793
9b09702
to
310c995
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this is fine, but it will also mean that if you have a stack project that needs those tools in the shell then it won't work, right?
For stack projects if tools are needed in the shell that are not in the
|
bors try |
tryTimed out. |
bors try |
tryTimed out. |
bors try |
tryTimed out. |
This fix worked for the small repo I did to reproduce the problem, but sadly it didn't work for my company's repo. I've added more info on the issue I opened, and hopefully you can pick up on something that I haven't been able to see from days of trying : ( |
#1769 added all the tool dependencies of the hsPkgs in a project to the shell. This is great for cabal projects where the set of packages will be limited to those in the plan. It allows these packages to be rebuilt by cabal.
For stack projects however this set is much larger (all of stackage), likely to include unwanted tools and tools that may be broken.
This change adds
shell.allDeps
and defaults it tofalse
for stack projects.Fixes #1793