[commit: haddock] v2.17: Pin down haddock-api to a single version (b6d7c24)

git at git.haskell.org git at git.haskell.org
Mon Nov 20 21:07:00 UTC 2017


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

On branch  : v2.17
Link       : http://git.haskell.org/haddock.git/commitdiff/b6d7c24aafacc56763d0efcd68252000e7d912f8

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

commit b6d7c24aafacc56763d0efcd68252000e7d912f8
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Wed Apr 12 15:19:46 2017 +0200

    Pin down haddock-api to a single version
    
    as otherwise `haddock`'s package version has no proper meaning


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

b6d7c24aafacc56763d0efcd68252000e7d912f8
 haddock.cabal | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/haddock.cabal b/haddock.cabal
index 67a5b30..0fe3999 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -121,7 +121,9 @@ executable haddock
       Haddock.Syb
       Haddock.Convert
   else
-    build-depends:  haddock-api >= 2.17.4 && < 2.18
+    -- in order for haddock's advertised version number to have proper meaning,
+    -- we pin down to a single haddock-api version.
+    build-depends:  haddock-api == 2.17.4
 
 test-suite driver-test
   type:             exitcode-stdio-1.0



More information about the ghc-commits mailing list