diff options
Diffstat (limited to 'src/HaddockVersion.hs')
-rw-r--r-- | src/HaddockVersion.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/HaddockVersion.hs b/src/HaddockVersion.hs index f3090b4e..4cb94271 100644 --- a/src/HaddockVersion.hs +++ b/src/HaddockVersion.hs @@ -8,10 +8,11 @@ module HaddockVersion ( projectName, projectVersion, projectUrl ) where -import Version ( version ) +import Paths_Haddock ( version ) +import Data.Version ( showVersion ) projectName, projectUrl :: String projectName = "Haddock" projectUrl = "http://www.haskell.org/haddock/" -projectVersion = version +projectVersion = showVersion version |