The cabal-dev package

[Tags:bsd3, deprecated, program]
Deprecated. in favor of cabal-install

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 on github:



Versions 0.7, 0.7.1, 0.7.2,,,,,, 0.8, 0.9, 0.9.1, 0.9.2
Dependencies base (>=3 && <5), bytestring (==0.9.*), Cabal (>= && <1.15), containers (== || == || >=0.3 && <0.5), directory (>=1.0 && <1.3), filepath (>=1.1 && <1.4), HTTP (>=4000.0.9 && <4000.3), mtl (>=1.1 && <2.1), network (>=2.2 && <2.4), pretty (>=1.0 && <1.2), process (>=1.0 && <1.2), tar (==0.3.*), template-haskell, transformers (==0.2.*), Win32 (>=2.1 && <2.3), zlib (==0.5.*) [details]
License BSD3
Copyright 2010-2012 Galois, Inc.
Author Josh Hoyt, Jonathan Daugherty, Rogan Creswick
Category Development
Home page
Bug tracker
Source repository head: git clone git://
Uploaded Wed Feb 8 00:51:16 UTC 2012 by JonathanDaugherty
Distributions NixOS:0.9.2
Downloads 11841 total (41 in the last 30 days)
0 []
Status Docs not available [build log]
All reported builds failed as of 2016-12-25 [all 7 reports]
Hackage Matrix CI


no-cabal-devDo not build cabal-dev (just build ghc-pkg-6_8-compat). This is useful for bootstrapping on GHC 6.8.DisabledManual
build-testsBuild and install the test executableDisabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees