haskell / haskell/cabal

Path to build artifacts changes depending on the build-type

Open
#4,771 6 comments 0 reactions 0 assignees View on GitHub
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

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.