Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix selection of dependencies for dev shells #2367

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

Merged
merged 1 commit into from
May 22, 2025
Merged

Conversation

hamishmack
Copy link
Collaborator

This patch fixes the way "non-haskell" dependencies are selected for dev shells (this includes pre-existing haskell packages).

Currently we only include "non-haskell" dependencies of the haskell packages that are needed by the shell (and not the the ones for the haskell packages that we plan to build in the shell).

This means if none of the haskell packages needed depend a particular "non-haskell" dependency it can be left out even if it will be needed to build the haskell packages we plan to build in the shell.

Fixes #2359 and probably #2256

This patch fixes the way "non-haskell" dependencies are selected for dev shells (this includes `pre-existing` haskell packages).

Currently we only include "non-haskell" dependencies of the haskell packages that are needed by the shell (and not the the ones for the haskell packages that we plan to build in the shell).

This means if none of the haskell packages needed depend a particular "non-haskell" dependency it can be left out even if it will be needed to build the haskell packages we plan to build in the shell.

Fixes #2359 and probably #2256
@hamishmack hamishmack merged commit 0cf517d into master May 22, 2025
4122 of 7510 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ghc shell env remains fixed even after changing cabal file
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.