pbrisbin / bugsnag-haskell

Bugsnag error reporter for Haskell
10 stars 7 forks source link

src/Network/Bugsnag/CodeIndex.hs: error: ‘System.FilePath.Glob’ does not export ‘glob’ #42

Closed juhp closed 6 years ago

juhp commented 6 years ago

In the Stackage Nightly build:

> /tmp/stackage-build12/bugsnag-haskell-0.0.2.0$ dist/build/doctest/doctest

src/Network/Bugsnag/CodeIndex.hs:22:30: error:
    Module ‘System.FilePath.Glob’ does not export ‘glob’
   |
22 | import System.FilePath.Glob (glob)
   |                              ^^^^
pbrisbin commented 6 years ago

He @juhp thanks for letting me know.

I'm afraid I'm having some trouble tracking this down. I build with nightly on CI and it's passing for me. I also confirmed that Glob does export that function. This version is in the latest nightly, but without any module documentation. Interestingly, a Hoogle search on that resolver can't find anything from Glob, though it does find this module from some other package I'm not using... :confused:

Is it possible there's some other issue going on with the Glob package in the actual stackage-build process that's causing this?

juhp commented 6 years ago

I suspect rather is something with doctest dependencies in our build environment...

Actually looking above the preceding skip commit line, it appears that makefile package has the same issue. So I suspect tricky to fix this for us: indeed we had to hide Glob due to module conflicts.