Skip to content

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

2 participants