packages feed

ats-pkg 2.2.0.7 → 2.2.0.8

raw patch · 2 files changed

+3/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ats-pkg.cabal view
@@ -1,5 +1,5 @@ name:                ats-pkg-version:             2.2.0.7+version:             2.2.0.8 synopsis:            Package manager for ATS description:         A collection of scripts to make building ATS projects easy. homepage:            https://github.com/vmchale/atspkg#readme
src/Language/ATS/Package/Build.hs view
@@ -14,6 +14,7 @@ import           Control.Concurrent.ParallelIO.Global import           Control.Monad.IO.Class               (MonadIO) import           Data.Binary                          (decode, encode)+import qualified Data.ByteString                      as BS import qualified Data.ByteString.Lazy                 as BSL import           Data.List                            (nub) import           Data.Maybe                           (fromMaybe)@@ -98,7 +99,7 @@     b <- not <$> doesFileExist ".atspkg/config"     if b         then input auto (TL.pack d)-        else fmap decode . BSL.readFile $ ".atspkg/config"+        else fmap (decode . BSL.fromStrict) . BS.readFile $ ".atspkg/config"  manTarget :: Text -> FilePath manTarget m = TL.unpack m -<.> "1"