haskell / haskell/cabal

"cabal clean" fails on Windows wth build-type Configure in 2.2

Open
#5,362 2 comments 0 reactions 0 assignees View on GitHub
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

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.