The cabal-dev package
cabal-dev is a tool for managing development builds of Haskell projects. It supports maintaining sandboxed cabal-install repositories, and sandboxed ghc package databases.
By default, it uses a cabal-dev directory under the current working directory as the sandbox.
For most packages, just use cabal-dev instead of cabal, and you will get a sandboxed build that will not install anything (even automatically installed dependencies) into the user or global ghc package databases.
If your build depends on patched or unreleased libraries, you can add them to your sandboxed build environment so they can be installed by cabal-dev or cabal. Just run:
cabal-dev add-source /path/to/source/code
cabal-dev add-source also supports importing tarballs into a local cabal repository.
Alternatively, install unreleased dependencies into the target cabal-dev sandbox instead of using add-source:
cd /path/to/dependency cabal-dev install --sandobox=/path/to/sandbox
Then build your library/application with the specified sandbox.
Additional documentation can be found in the README.md on github:
http:github.comcreswickcabal-devblobmaster/README.md
Properties
| Versions | 0.7, 0.7.1, 0.7.2, 0.7.2.1, 0.7.3.1, 0.7.3.2, 0.7.4.0, 0.7.4.1, 0.8, 0.9, 0.9.1 |
|---|---|
| Dependencies | base (<5), Cabal (≥1.2 & <1.15) |
| License | BSD3 |
| Copyright | 2010-2012 Galois, Inc. |
| Author | Josh Hoyt, Jonathan Daugherty, Rogan Creswick |
| Maintainer | j3h@galois.com, jtd@galois.com, creswick@galois.com |
| Category | Development |
| Home page | http://github.com/creswick/cabal-dev |
| Bug tracker | http://github.com/creswick/cabal-dev/issues |
| Source repository | git clone git://github.com/creswick/cabal-dev.git |
| Executables | fake-ghc-cabal-dev, cabal-dev-test, ghc-pkg-6_8-compat, cabal-dev |
| Upload date | Wed Feb 8 00:51:16 UTC 2012 |
| Uploaded by | JonathanDaugherty |
| Distributions | Fedora: 0.9 |
Downloads
- cabal-dev-0.9.1.tar.gz (Cabal source package)
- package description (included in the package)