input-output-hk / input-output-hk/stack2nix

conditional packages based on GHC version mismatch between cabal2nix and stack

Open
#103 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Nix
Stars
100
Forks
28
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.