Skip to content
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

Fix source-repo under Cabal 3.4 generated plans #106

Merged
merged 1 commit into from
Jul 10, 2021

Conversation

puffnfresh
Copy link
Contributor

They are no longer always local:

haskell/cabal@2b6cd51

haskell/cabal#5586

(_, "local", "local", _) -> Just $ Package
extras = fmap Just $ filterInstallPlan $ \pkg -> case ( pkg ^. key "style" . _String
, pkg ^. key "pkg-src" . key "type" . _String) of
("local", "local") -> Just $ Package
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm actually not sure why we care about the style at all. Wouldn't pkg-src be the only important thing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like style is now directly derived from pkg-src, from my understanding of the Cabal code.

@hamishmack hamishmack merged commit a640086 into input-output-hk:master Jul 10, 2021
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.

2 participants