diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2020-05-01 23:00:21 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2020-05-02 15:44:26 +0200 |
commit | 11a515ed0e887eef081e514b51f29589cf6693ca (patch) | |
tree | c6b87fea634488a415359ede673f3f6ada5504b5 /lib/Distribution | |
parent | 15d23d0731aa4e592e709e3626444e18ce3f804a (diff) |
Move CabalVersion and related types into a new module
Diffstat (limited to 'lib/Distribution')
-rw-r--r-- | lib/Distribution/Helper.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Distribution/Helper.hs b/lib/Distribution/Helper.hs index 507adad..3c5007d 100644 --- a/lib/Distribution/Helper.hs +++ b/lib/Distribution/Helper.hs @@ -147,6 +147,7 @@ import CabalHelper.Compiletime.Log import CabalHelper.Compiletime.Process import CabalHelper.Compiletime.Sandbox import CabalHelper.Compiletime.Types +import CabalHelper.Compiletime.Types.Cabal import CabalHelper.Compiletime.Types.RelativePath import CabalHelper.Shared.InterfaceTypes import CabalHelper.Shared.Common @@ -768,7 +769,7 @@ newtype Helper pt getHelper :: PreInfo pt -> ProjInfo pt -> QueryEnvI c pt -> IO (Helper pt) getHelper _pre_info ProjInfo{piCabalVersion} qe@QueryEnv{..} - | piCabalVersion == bultinCabalVersion = return $ Helper $ + | CabalVersion piCabalVersion == bultinCabalVersion = return $ Helper $ \Unit{ uDistDir=DistDirLib distdir , uPackage=Package{pCabalFile=CabalFile cabal_file} } args -> |