commercialhaskell / commercialhaskell/stack

Support Cabal HEAD in "stack ghci"

Open
#2,141 0 comments 0 reactions 0 assignees View on GitHub
component: ghci type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

From https://github.com/haskell/cabal/blob/master/Cabal/changelog

> 1.25.x.x (current development version)
> - Backwards incompatible change to 'cabal_macros.h' (#1893): we now
> generate a macro file for each component which contains only
> information about the direct dependencies of that component.
> Consequently, 'dist/build/autogen/cabal_macros.h' contains
> only the macros for the library, and is not generated if a
> package has no library; to find the macros for an executable
> named 'foobar', look in 'dist/build/foobar/autogen/cabal_macros.h'.

`stack ghci` will need to change its `cabal_macros.h` processing conditionally based on Cabal version.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.