[commit: Cabal] master: Get the version from the cabal-generated paths module (7b88cca)
Ian Lynagh
igloo at earth.li
Fri Jun 24 01:44:11 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/7b88ccad869635eecdd96beb2eba4dbf13463cec
>---------------------------------------------------------------
commit 7b88ccad869635eecdd96beb2eba4dbf13463cec
Author: Duncan Coutts <duncan.coutts at worc.ox.ac.uk>
Date: Thu May 3 16:22:24 2007 +0000
Get the version from the cabal-generated paths module
>---------------------------------------------------------------
cabal-install/src/Network/Hackage/Version.hs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cabal-install/src/Network/Hackage/Version.hs b/cabal-install/src/Network/Hackage/Version.hs
index 8356b1a..c0e1bfb 100644
--- a/cabal-install/src/Network/Hackage/Version.hs
+++ b/cabal-install/src/Network/Hackage/Version.hs
@@ -1,7 +1,7 @@
module Network.Hackage.Version where
import Data.Version
-
+import Paths_cabal_install (version)
clientVersion :: Version
-clientVersion = Version [0,1,0] []
+clientVersion = Paths_cabal_install.version
More information about the Cvs-libraries
mailing list