haskell / haskell/cabal

[nix-local-build] Target selection doesn't handle buildable correctly

Open
#3,262 1 comment 0 reactions 0 assignees View on GitHub
cabal-install: v2-build system type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

Suppose I have a component with a field that looks like this:

```
if flag(comp-buildable)
buildable: True
else
buildable: False
```

where the flag defaults to false. new-build will incorrectly report that Cabal has no such component.

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.