[commit: packages/time] format-widths, master, tasty: Remove useless version bound on time. (bc8c7a2)

git at git.haskell.org git at git.haskell.org
Mon Feb 20 21:19:26 UTC 2017


Repository : ssh://git@git.haskell.org/time

On branches: format-widths,master,tasty
Link       : http://git.haskell.org/packages/time.git/commitdiff/bc8c7a2d525460f77f1ed739750426ce4dc30e0c

>---------------------------------------------------------------

commit bc8c7a2d525460f77f1ed739750426ce4dc30e0c
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Tue Dec 13 14:26:08 2016 -0800

    Remove useless version bound on time.
    
    When build-depends refers to a library that is defined
    in the same package, a version bound is not necessary:
    the internal copy of the library is always preferred.
    New versions of Cabal now warn in this case.
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>


>---------------------------------------------------------------

bc8c7a2d525460f77f1ed739750426ce4dc30e0c
 time.cabal | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/time.cabal b/time.cabal
index c1c2d26..e8e18cb 100644
--- a/time.cabal
+++ b/time.cabal
@@ -100,7 +100,7 @@ test-suite ShowDefaultTZAbbreviations
     ghc-options: -Wall -fwarn-tabs
     build-depends:
         base,
-        time == 1.8
+        time
     main-is: ShowDefaultTZAbbreviations.hs
 
 test-suite tests
@@ -122,7 +122,7 @@ test-suite tests
     build-depends:
         base,
         deepseq,
-        time == 1.8,
+        time,
         QuickCheck >= 2.5.1,
         test-framework >= 0.8,
         test-framework-quickcheck2 >= 0.3,



More information about the ghc-commits mailing list