hub(5) ====== NAME ---- hub - syntax of XML files used to configure Haskell hubs SYNOPSIS -------- A Hub configuration file is an XML file that always contains a `` node, which will contain a '', ``, '' and `` sub-nodes. If (and only if) the file is configuring a user hub, it will also have a `` and `` sub-nodes and possibly a `` sub-node. DESCRIPTION ----------- ``:: Brief single-line of text describing the hub. ``:: The path of the `bin` directory containing the `ghc` tools to be used with the hub. ``:: The path of directory containing the generic tools (especially `cabal`) to be used with the hub. ``:: The version of 'Cabal-install' to use with this hub. The presence of this node is optional. When present it will force the use of '/cabal-' for the cabal executable. ``:: The path of the global package database to be used with the hub. ``:: The name of the global hub associated with this user hub (present for user hubs only). ``:: The path of the user package database to be used with the hub (present for user hubs only). ``:: The presence of this node signifies that the hub is locked. If it is present it should contain the string "rmie". (Only user hubs may be locked.) EXAMPLE 1 --------- Hub configuration file for global hub `2011.2.0.1`: ---- Haskell Platform 2011.2.0.1 /usr/hs/ghc/7.0.3/bin /usr/hs/db/2011.2.0.1.d ---- EXAMPLE 2 --------- Hub configuration file for hub `home`, a user hub based on the global hub `7.4.1`: ---- Hub for building the hub tool /usr/hs/ghc/7.4.1/bin /usr/hs/tools 0.14.0 7.4.1 /usr/hs/db/7.4.1.d /home/chris/.hubrc/lib/hub-src/package.config ---- FILES ----- `~/.hubrc/hub/.xml`:: Contains the hub-spefification file for user hub . `/usr/hs/hub/.xml`:: XML configuration file for global hub . SEE ALSO -------- hub(1):: The hub command for managing and configuring user hubs. http://justhub.org:: The home page of the JustHub distribution contains introductory material and links to wikis and articles. AUTHOR ------ Chris Dornan