Path to build artifacts changes depending on the build-type
Open
cabal-install: v2-build system
type: discussion
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
For example, if I have a package `foo` with an executable `exe`, with `build-type: Simple` the executable will be under
```
dist-newstyle/build/x86_64-linux/ghc-8.2.1/foo-1.0/c/exe/build/exe/exe
```
But if I change the build type to `Custom`, it will be under
```
dist-newstyle/build/x86_64-linux/ghc-8.2.1/foo-1.0/build/exe/exe
```
This is with Cabal 2.0.
/cc @ezyang
Contributor guide
Assessment
This issue has not been assessed yet.