Skip to content

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

Open
@domenkozar

Description

@domenkozar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions