haskell / haskell/cabal

RFE: `which` command for build-tool-depends

Open
#6,306 1 comment 0 reactions 0 assignees View on GitHub
can-workaround type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

I would like to be able to find an executable from the text editor that I can then call

https://gitlab.com/tseenshe/haskell-tng.el/blob/4e2cf006eb8c544ace8aafd2e8375dcb31dd8c8e/haskell-tng-hsinspect.el#L130-143

However, using `cabal exec -v0 which -- TOOL` fails to succeed until the project has been compiled because `cabal` does not know what to do.

Note that the current failure message is

```
dist-newstyle/tmp/environment.-63855: createDirectory: does not exist (No such file or directory)
```

which is not very helpful.

This would be a competitive advantage over `stack`.

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.