cabal-dev: Manage sandboxed Haskell build environments
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 by installing them to the sandbox directly:so
cd /path/to/dependency cabal-dev install --sandbox=/path/to/sandbox
Then build your library/application with the specified sandbox.
Additional documentation can be found in the README.md on github:
Flags
Manual Flags
Name | Description | Default |
---|---|---|
no-cabal-dev | Do not build cabal-dev (just build ghc-pkg-6_8-compat). This is useful for bootstrapping on GHC 6.8. | Disabled |
build-tests | Build and install the test executable | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- cabal-dev-0.9.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 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, 0.9.2 |
---|---|
Dependencies | base (>=3 && <5), bytestring (>=0.9 && <0.11), Cabal (>=1.10.0.0 && <1.17), containers (==0.1.0.2 || ==0.2.0.1 || >=0.3 && <0.6), directory (>=1.0 && <1.3), filepath (>=1.1 && <1.4), HTTP (>=4000.0.9 && <4000.3), mtl (>=1.1 && <2.2), network (>=2.2 && <2.5), pretty (>=1.0 && <1.2), process (>=1.0 && <1.2), setenv (>=0.1 && <0.2), tar (>=0.4 && <0.5), template-haskell, transformers (>=0.2 && <0.4), Win32 (>=2.1 && <2.4), zlib (>=0.5 && <0.6) [details] |
Tested with | ghc ==7.4.1, ghc ==7.6.1 |
License | BSD-3-Clause |
Copyright | 2010-2013 Galois, Inc. |
Author | Josh Hoyt, Jonathan Daugherty, Rogan Creswick |
Maintainer | joshhoyt@gmail.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 repo | head: git clone git://github.com/creswick/cabal-dev.git |
Uploaded | by RoganCreswick at 2013-02-28T00:24:42Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | fake-ghc-cabal-dev, cabal-dev-test, ghc-pkg-6_8-compat, cabal-dev |
Downloads | 18922 total (17 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] Successful builds reported [all 10 reports] |