Cabal bugs

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Fri Mar 7 07:21:43 EST 2008


> Wed Mar  5 02:36:26 GMT 2008  Duncan Coutts <duncan at haskell.org>
>   * Fix configure for hugs where we don't know what packages are
>   installed For Hugs, nhc98 and other compilers we do not know what
>   packages are already installed, so we just make some up,

Hmm, although you may not know, there is a way to find out.  :-)
On nhc98 at least, a simple directory listing of
  include/packages/*.cabal
will tell you what is installed.  I agree that this is not the
friendliest interface in the world, so I have now made it easier, by
adding the 'nhc98-pkg list' command (in darcs).  For instance:

    $ nhc98-pkg list
    array-0.1 base-3.0 bytestring-0.9 Cabal-1.3.6 containers-0.1
    directory-1.0 filepath-1.1 fps-0.8 haskell-src-1.0.1.1
    haskell98-1.0.1 HaXml-1.19.2 html-1.0.1.1 HUnit-1.2.0.0
    old-locale-1.0 old-time-1.0 packedstring-0.1 parsec-2.1.0.0
    polyparse-1.1 pretty-1.0 process-1.0 QuickCheck-1.1.0.0 random-1.0
    xhtml-3000.0.2.1

Regards,
    Malcolm



More information about the cabal-devel mailing list