ats-pkg 3.0.0.1 → 3.0.0.2
raw patch · 4 files changed
+7/−7 lines, 4 filesdep ~shake-atsdep ~shake-cPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: shake-ats, shake-c
API changes (from Hackage documentation)
Files
- ats-pkg.cabal +2/−2
- internal/Quaalude.cpphs +2/−2
- src/Language/ATS/Package/Build.hs +1/−1
- src/Language/ATS/Package/Dependency.hs +2/−2
ats-pkg.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.0 name: ats-pkg-version: 3.0.0.1+version: 3.0.0.2 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2018 Vanessa McHale@@ -93,7 +93,7 @@ ansi-wl-pprint -any, shake-ats >=1.8.0.0, shake-ext >=3.0.0.0,- shake-c -any,+ shake-c >=0.4.0.0, zip-archive -any, ansi-wl-pprint -any, dependency >=1.2.0.0,
internal/Quaalude.cpphs view
@@ -134,7 +134,7 @@ import Data.Version (showVersion) import Development.Shake hiding (getEnv) import Development.Shake.FilePath-import Dhall hiding (bool, Text)+import Dhall hiding (Text, bool) import Lens.Micro hiding (both) import Lens.Micro.Extras import Network.HTTP.Client@@ -149,7 +149,7 @@ #endif import System.Process as X import System.Process.Ext-import Text.PrettyPrint.ANSI.Leijen hiding (bool, (<$>), (<>), (</>))+import Text.PrettyPrint.ANSI.Leijen hiding (bool, (<$>), (</>), (<>)) infixr 5 <#>
src/Language/ATS/Package/Build.hs view
@@ -237,7 +237,7 @@ -- | The directory that will be @PATSHOME@. patsHomeAtsPkg :: MonadIO m => Version -> m String-patsHomeAtsPkg v = fmap (</> show v) (pkgHome (GCC Nothing))+patsHomeAtsPkg v = fmap (</> show v) (pkgHome (GCC Nothing Nothing)) home' :: MonadIO m => Version -- ^ Compiler version -> Version -- ^ Library version
src/Language/ATS/Package/Dependency.hs view
@@ -25,7 +25,7 @@ import Quaalude getTgt :: CCompiler -> Maybe String-getTgt (GCC x) = x+getTgt (GCC x _) = x getTgt (GHC x _) = x getTgt _ = Nothing @@ -78,7 +78,7 @@ -> ATSDependency -> IO () atsPkgSetup als tgt' (ATSDependency lib' dirName' _ _ _ _ _ _ _) = do- lib'' <- (<> unpack lib') <$> cpkgHome (GCC Nothing)+ lib'' <- (<> unpack lib') <$> cpkgHome (GCC Nothing Nothing) b <- doesFileExist lib'' unless b $ do als tgt' (unpack lib') (unpack dirName')