Skip to content

Commit b5a350a

Browse files
committed
Improve missing dependency message, to cover build-tools
1 parent 4738a2b commit b5a350a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Stack/Types/Build/Exception.hs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,8 +699,13 @@ pprintExceptions exceptions stackYaml stackRoot isImplicitGlobal parentMap wante
699699
[ flow "(no matching package and version found. Perhaps there is \
700700
\an error in the specification of a package's"
701701
, style Shell "dependencies"
702+
, "or"
703+
, style Shell "build-tools"
702704
, flow "(Hpack) or"
703-
, style Shell "build-depends"
705+
, style Shell "build-depends" <> ","
706+
, style Shell "build-tools"
707+
, "or"
708+
, style Shell "build-tool-depends"
704709
, flow "(Cabal file)"
705710
, flow "or an omission from the"
706711
, style Shell "packages"

0 commit comments

Comments
 (0)