Commit 7f34d6ce authored by Clint Adams's avatar Clint Adams
Browse files

stack: patch for newer smallcheck

parent 7e77ff00
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
haskell-stack (1.7.1-3) unstable; urgency=medium

  * Patch for newer smallcheck.

 -- Clint Adams <clint@debian.org>  Sat, 10 Nov 2018 08:17:14 -0600

haskell-stack (1.7.1-2) unstable; urgency=medium

  * Remove build dependency on libghc-mtl-dev (provided by ghc-8.4.3)
+15 −0
Original line number Diff line number Diff line
--- a/src/test/Stack/StoreSpec.hs
+++ b/src/test/Stack/StoreSpec.hs
@@ -51,12 +51,6 @@ addMinAndMaxBounds xs =
     (if (minBound :: a) `notElem` xs then [minBound] else []) ++
     (if (maxBound :: a) `notElem` xs && (maxBound :: a) /= minBound then maxBound : xs else xs)
 
-$(do let ns = [ ''Int64, ''Word64, ''Word8
-              ]
-         f n = [d| instance Monad m => Serial m $(conT n) where
-                      series = generate (\_ -> addMinAndMaxBounds [0, 1]) |]
-     concat <$> mapM f ns)
-
 $(do let tys = [ ''InstalledCacheInner
                -- FIXME , ''PackageCache
                -- FIXME , ''LoadedSnapshot
+1 −0
Original line number Diff line number Diff line
remove-mintty.patch
newer-smallcheck