Debian Codegraph @

debian/patches/fix-dist-path

raw
1 Index: b/tests/doctests.hs
2 ===================================================================
3 --- a/tests/doctests.hs
4 +++ b/tests/doctests.hs
5 @@ -14,7 +14,7 @@ main = allSources >>= \sources -> doctes
6
7 allSources :: IO [FilePath]
8 allSources = liftM2 (++) (getFiles ".hs" "src")
9 - (getFiles ".o" "dist/build/src/cbits")
10 + (getFiles ".o" "dist-ghc/build/src/cbits")
11
12 getFiles :: String -> FilePath -> IO [FilePath]
13 getFiles ext root = filter (isSuffixOf ext) <$> go root