install-includes not working as expected
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
**Describe the bug**
`install-includes` does not accept local path when installing to `tar.gz`
**To Reproduce**
Steps to reproduce the behavior:
```
extra-source-files: cbits/clib.h
executable include-dirs-example
main-is: Main.hs
build-depends: base
hs-source-dirs: app
include-dirs: cbits
c-sources: cbits/clib.c
-- install-includes: cbits/clib.h
cc-options: -D__TESTOPT_C__=11
default-language: Haskell2010
```
or change the directory to an absolute path and it will work
```
-- extra-source-files: cbits/clib.h
executable include-dirs-example
main-is: Main.hs
build-depends: base
hs-source-dirs: app
include-dirs: /Users/user/haskell/include-dirs-example/cbits
c-sources: cbits/clib.c
install-includes: cbits/clib.h
cc-options: -D__TESTOPT_C__=11
default-language: Haskell2010
```
```
$ cabal install
```
**Expected behavior**
`install-includes` should accept a local path as expected
**System information**
- Operating system: mac os
- `cabal` 3.16.0.0
- `ghc` 9.12.2
Contributor guide
Assessment
This issue has not been assessed yet.