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

conditional packages based on GHC version mismatch between cabal2nix and stack #103

Open
domenkozar opened this issue Jul 8, 2018 · 1 comment

Comments

@domenkozar
Copy link
Contributor

If a cabal file has:

        if impl (ghc < 8.4)
          build-depends: ghc-syb-utils

Then stack using GHC 8.4.x won't consider it as dependency while cabal2nix will. This results into missing "ghc-syb-utils" attribute since package wasn't generated due to stack build plan.

@domenkozar
Copy link
Contributor Author

This may have been fixed with #115

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

No branches or pull requests

1 participant