Skip to content

cabal new-build doesn't isolate include-dirs #5430

@typedrat

Description

@typedrat

new-build is propagating include-dirs in a library component when it shouldn't, meaning that it's passing -Is it shouldn't to ghc when building the executable component.

This is why #5427 appeared to be an install problem, when it was really due to an incorrectly written (but previously harmlessly so) .cabal file.

Metadata

Metadata

Assignees

Labels

cabal-install: v2-build systemAffecting v2-build and related commands that use v2-architecture (aka "nix local builds").

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions