Skip to content

Commit

Permalink
Change custom-setup warning to PackageDistSuspicious, partially fixes #…
Browse files Browse the repository at this point in the history
…2638.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
  • Loading branch information
ezyang committed Jun 20, 2015
1 parent 693d176 commit 9e9e437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cabal/Distribution/PackageDescription/Check.hs
Expand Up @@ -1076,7 +1076,7 @@ checkCabalVersion pkg =
, check (specVersion pkg < Version [1,23] []
&& isNothing (setupBuildInfo pkg)
&& buildType pkg == Just Custom) $
PackageBuildWarning $
PackageDistSuspicious $
"From version 1.23 cabal supports specifiying explicit dependencies "
++ "for Custom setup scripts. Consider using cabal-version >= 1.23 and "
++ "adding a 'custom-setup' section with a 'setup-depends' field "
Expand Down

0 comments on commit 9e9e437

Please sign in to comment.