Skip to content

Commit 0e0c193

Browse files
committed
Fix commercialhaskell#5541 Document use of cabal clean to remove unintended Cabal files
1 parent a4ec6ad commit 0e0c193

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/init_command.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ Otherwise, `stack init` will try to use the following Stackage snapshots in
3434
order of preference, using the first that is compatable: the most recent LTS
3535
Haskell, the most recent Stackage Nightly, and other LTS Haskell (most recent
3636
first).
37+
38+
!!! note
39+
40+
If Cabal (the tool) has been used in the directory, consider commanding
41+
`cabal clean` before applying `stack init`, in case Cabal has created any
42+
unintended Cabal files.

0 commit comments

Comments
 (0)