ats-setup 0.4.0.0 → 0.4.0.2
raw patch · 2 files changed
+4/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ats-setup.cabal +1/−1
- src/Distribution/ATS.hs +3/−3
ats-setup.cabal view
@@ -1,5 +1,5 @@ name: ats-setup-version: 0.4.0.0+version: 0.4.0.2 synopsis: ATS scripts for Cabal builds description: This package contains various scripts that go in a package's @Setup.hs@ to make building libraries with ATS dependencies easier. license: BSD3
src/Distribution/ATS.hs view
@@ -110,10 +110,10 @@ fetchDependencies :: ConfigFlags -> [ATSDependency] -> IO () fetchDependencies cfs =- bool nothing act cond+ bool act nothing cond where act = (>> stopGlobalPool) . parallel_ . fmap fetchDependency- nothing = pure $ pure ()- cond = (mkFlagName "with-atsdeps", True) `elem` configConfigurationsFlags cfs+ nothing = pure mempty+ cond = (mkFlagName "with-atsdeps", False) `elem` configConfigurationsFlags cfs fetchDependency :: ATSDependency -> IO () fetchDependency (ATSDependency libNameATS dirName url) = do