"cabal clean" fails on Windows wth build-type Configure in 2.2
Open
cabal-install: cmd/clean
platform: windows
type: bug
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
Using cabal-install 2.2.0.0 for x86_64, running "cabal clean --verbose=2" fails on Windows 7 with "dist\build: getDirectoryContents:findFirstFile: does not exist (The system cannot find the path specified.)" when no "dist" directory exists. In cabal-install 2.0, this same scenario succeeds.
Using "cabal init" to create a skeleton project, then changing "build-type" from "Simple" to "Configure" seems to be sufficient to trigger this problem.
Contributor guide
Assessment
This issue has not been assessed yet.