[darcs-users] enfranchising darcs?

David Roundy daveroundy at gmail.com
Fri Oct 17 18:06:08 UTC 2008

On Fri, Oct 17, 2008 at 1:42 PM, Ben Franksen
<benjamin.franksen at bessy.de> wrote:
> Another issue with franchise (as it stands) is this: I have a parsec-3
> installed but also a parsec-2. I want darcs to build using parsec-2,
> ignoring parsec-3. How do I do this?

Right.  Franchise is obviously not complete, nor is setup.hs.  When
packages change API, we need to check for the right API.  This
currently is done with checkForModuleExporting, and I've no idea what
this will do when two packages export the module, but I do know that
the configure test will fail if franchise doesn't find the right


> I tried to hide parsec-3:
> ben at sarun[1]: .../darcs.net/unstable > ghc-pkg list parsec
> /usr/local/lib/ghc-6.8.3/package.conf:
>    parsec-
> /home/ben/.ghc/i386-linux-6.8.3/package.conf:
>    parsec-3.0.0
> ben at sarun[1]: .../darcs.net/unstable > ghc-pkg hide parsec-3.0.0 --user
> Saving old package config file... done.
> Writing new package config file... done.
> ben at sarun[1]: .../darcs.net/unstable > ghc-pkg list parsec
> /usr/local/lib/ghc-6.8.3/package.conf:
>    parsec-
> /home/ben/.ghc/i386-linux-6.8.3/package.conf:
>    (parsec-3.0.0)
> but it doesn't help:
> ben at sarun[1]: .../darcs.net/unstable > runghc setup.hs configure
> Haskeline not found.
> Configuring...
> found module System.Posix.Signals in packages base unix-
> found library z with -lz
> found module Network.HTTP in package HTTP-3001.1.3
> Checking for libwww... found.
> About to checkWindows...
> Added packages mtl- regex-compat- old-time-
> network- containers- process- directory-
> parsec-3.0.0 random- html- array- filepath-
> Added packages old-locale- haskell98...
> About to checkWindows...
> Configure successful.
> Note that franchise choses the (hidden!) parsec-3.

More information about the darcs-users mailing list