The cabal-dev package

[Tags: bsd3, program]

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


Versions0.7, 0.7.1, 0.7.2,,,,,, 0.8, 0.9, 0.9.1, 0.9.2
Dependenciesbase (<5), Cabal (>=1.2 && <1.17), process (>=1.0 && <1.2)
Copyright2010-2013 Galois, Inc.
AuthorJosh Hoyt, Jonathan Daugherty, Rogan Creswick,,
Home page
Bug tracker
Source repositoryhead: git clone git://
Executablesfake-ghc-cabal-dev, cabal-dev-test, ghc-pkg-6_8-compat, cabal-dev
Upload dateThu Feb 28 00:24:42 UTC 2013
Uploaded byRoganCreswick
DistributionsFedora:0.9.2, NixOS:0.9.2
Downloads6473 total (897 in last 30 days)


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

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


Maintainers' corner

For package maintainers and hackage trustees