Skip to content

Make hsc2hs less magic in haskell.nix #1772

Open
@hamishmack

Description

@hamishmack

Currently we include the GHC bundled hsc2hs automatically for every build. It would be nicer if we respected the build-tool-depends selected version in the cabal plan.

"--with-hsc2hs=${ghc.targetPrefix}hsc2hs"

# We always exclude hsc2hs from build-tools because it is unecessary as it is provided by ghc
# and hsc2hs from ghc is first in PATH so the one from build-tools is never used.
&& x.identifier.name or "" != "hsc2hs")

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpreservedKeep stale bot away

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions