packages feed

hix 0.4.1 → 0.4.2

raw patch · 3 files changed

+5/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

hix.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           hix-version:        0.4.1+version:        0.4.2 synopsis:       Haskell/Nix development build tools description:    See https://hackage.haskell.org/package/hix/docs/Hix.html category:       Build
lib/Hix/Preproc.hs view
@@ -201,7 +201,7 @@  preludeRegex :: Regex preludeRegex =-  [regex|^import\s*((?:"[^"]+" )?\s*)(?:qualified )?\s*(Prelude)|]+  [regex|^import\s+(?:qualified\s+)?((?:"[^"]+"\s+)?)(Prelude)|]  replacePrelude :: ByteString -> Prelude -> Maybe ByteString replacePrelude l Prelude {..}
test/Hix/Test/PreprocTest.hs view
@@ -100,6 +100,7 @@ import "base" Prelude (sum) import Data.List import Prelude hiding (Maybe)+import qualified Prelude as P import Data.Maybe  f :: Int@@ -123,10 +124,11 @@ import "incipit-base" IncipitBase (sum) import Data.List import "incipit-base" IncipitBase hiding (Maybe)+import qualified "incipit-base" IncipitBase as P import Data.Maybe  type Hix_Dummy = Int-{-# line 15 "/foo/bar/Foo.hs" #-}+{-# line 16 "/foo/bar/Foo.hs" #-} f :: Int f = 1 |]