fix extensions extraction from Cabal buildinfo
This commit is contained in:
parent
bf7d79773a
commit
766dc26a33
2
Cabal.hs
2
Cabal.hs
@ -64,7 +64,7 @@ parseCabalFile file = do
|
|||||||
-- SourceDirs, Extensions, and Language
|
-- SourceDirs, Extensions, and Language
|
||||||
extractBuildInfo :: BuildInfo -> ([String],[Extension],Maybe Language)
|
extractBuildInfo :: BuildInfo -> ([String],[Extension],Maybe Language)
|
||||||
extractBuildInfo binfo = (hsSourceDirs binfo
|
extractBuildInfo binfo = (hsSourceDirs binfo
|
||||||
,oldExtensions binfo
|
,usedExtensions binfo
|
||||||
,defaultLanguage binfo)
|
,defaultLanguage binfo)
|
||||||
|
|
||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user