packages feed

hie-bios 0.2.0 → 0.2.1

raw patch · 3 files changed

+15/−15 lines, 3 filesdep ~extradep ~file-embeddep ~unix-compatPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: extra, file-embed, unix-compat, unordered-containers, yaml

API changes (from Hackage documentation)

Files

ChangeLog view
@@ -1,4 +1,9 @@-2019-09-18 - 0.2+2019-09-19 - 0.2.1++	* Make stack cradle use the same wrappers as cabal cradle. Fixes some issues+		on windows.++2019-09-18 - 0.2.0  	* Compat with 8.2 and 8.8 	* Add support for explicitly specifying dependencies for a cradle
hie-bios.cabal view
@@ -1,5 +1,5 @@ Name:                   hie-bios-Version:                0.2.0+Version:                0.2.1 Author:                 Matthew Pickering <matthewtpickering@gmail.com> Maintainer:             Matthew Pickering <matthewtpickering@gmail.com> License:                BSD3@@ -46,17 +46,17 @@                         directory            >= 1.3.0 && < 1.4,                         filepath             >= 1.4.1 && < 1.5,                         time                 >= 1.8.0 && < 1.10,-                        extra                >= 1.6.18 && < 1.7,+                        extra                >= 1.6.14 && < 1.7,                         process              >= 1.6.1 && < 1.7,-                        file-embed           >= 0.0.11 && < 0.1,+                        file-embed           >= 0.0.10 && < 0.1,                         ghc                  >= 8.2.2 && < 8.9,                         transformers         >= 0.5.2 && < 0.6,                         temporary            >= 1.2 && < 1.4,                         text                 >= 1.2.3 && < 1.3,-                        unix-compat          >= 0.5.2 && < 0.6,-                        unordered-containers >= 0.2.10 && < 0.3,+                        unix-compat          >= 0.5.1 && < 0.6,+                        unordered-containers >= 0.2.9 && < 0.3,                         vector               >= 0.12.0 && < 0.13,-                        yaml                 >= 0.11.1 && < 0.12+                        yaml                 >= 0.8.32 && < 0.12  Executable hie-bios   Default-Language:     Haskell2010
src/HIE/Bios/Cradle.hs view
@@ -229,6 +229,7 @@         return wrapper_fp       else do         writeSystemTempFile "bios-wrapper" cabalWrapper+   setFileMode wrapper_fp accessModes   _check <- readFile wrapper_fp   return wrapper_fp@@ -281,15 +282,10 @@     cabalFiles <- findCabalFiles wdir     return $ cabalFiles ++ ["package.yaml", "stack.yaml"] --- Same wrapper works as with cabal-stackWrapper :: String-stackWrapper = $(embedStringFile "wrappers/cabal")- stackAction :: FilePath -> FilePath -> IO (ExitCode, String, [String]) stackAction work_dir fp = do-  wrapper_fp <- writeSystemTempFile "wrapper" stackWrapper-  -- TODO: This isn't portable for windows-  setFileMode wrapper_fp accessModes+  -- Same wrapper works as with cabal+  wrapper_fp <- getCabalWrapperTool   -- TODO: this is for debugging   -- check <- readFile wrapper_fp   -- traceM check@@ -343,7 +339,6 @@ rulesHaskellAction :: FilePath -> FilePath -> IO (ExitCode, String, [String]) rulesHaskellAction work_dir fp = do   wrapper_fp <- writeSystemTempFile "wrapper" bazelCommand-  -- TODO: This isn't portable for windows   setFileMode wrapper_fp accessModes   let rel_path = makeRelative work_dir fp   (ex, args, stde) <-