Blame SOURCES/ghc-Cabal-install-PATH-warning.patch

a43873
--- ghc-8.2.2/libraries/Cabal/Cabal/Distribution/Simple/Install.hs~	2017-05-05 16:51:43.000000000 +0200
a43873
+++ ghc-8.2.2/libraries/Cabal/Cabal/Distribution/Simple/Install.hs	2018-01-23 23:05:47.047081056 +0100
a43873
@@ -36,7 +36,7 @@
a43873
 import Distribution.Simple.Utils
a43873
          ( createDirectoryIfMissingVerbose
a43873
          , installDirectoryContents, installOrdinaryFile, isInSearchPath
a43873
-         , die', info, noticeNoWrap, warn, matchDirFileGlob )
a43873
+         , die', info, noticeNoWrap, warn, matchDirFileGlob, debug )
a43873
 import Distribution.Simple.Compiler
a43873
          ( CompilerFlavor(..), compilerFlavor )
a43873
 import Distribution.Simple.Setup
a43873
@@ -215,7 +215,7 @@
a43873
                       ++ " in " ++ binPref)
a43873
     inPath <- isInSearchPath binPref
a43873
     when (not inPath) $
a43873
-      warn verbosity ("The directory " ++ binPref
a43873
+      debug verbosity ("The directory " ++ binPref
a43873
                       ++ " is not in the system search path.")
a43873
     case compilerFlavor (compiler lbi) of
a43873
       GHC   -> GHC.installExe   verbosity lbi binPref buildPref progFix pkg_descr exe