Skip to content
Official upstream development repository for Cabal and cabal-install
Haskell Shell Python TeX Pascal Dockerfile Other
Branch: master
Clone or download

Latest commit

Latest commit 343b524 May 26, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.docker Test cabal-install with GHC-8.10 Apr 13, 2020
.github Fix Windows GitHub Action May 22, 2020
Cabal Override Cabal's library visibility check on GHC <8.8 May 23, 2020
boot Fix Windows GitHub Action May 22, 2020
buildinfo-reference-generator Create Cabal-described May 13, 2020
cabal-benchmarks Update copyright years Apr 3, 2020
cabal-dev-scripts Make cabal-install compilable with NoImplicitPrelude May 18, 2020
cabal-install Override Cabal's library visibility check on GHC <8.8 May 23, 2020
cabal-testsuite Add test for #6038 May 24, 2020
changelog.d Add changelog for multilibs solver support May 23, 2020
license-list-data Add SPDX License List 3.8 (2020-02-09) Apr 6, 2020
solver-benchmarks Update copyright years Apr 3, 2020
tests Replace hand-formatted generateCabalFile code with PrettyField. May 7, 2020
travis Use xenial in travis/binaries/.travis.yml Dec 4, 2019
.arcconfig Add arcconfig, so arc diff works with phabricator.haskell.org. Sep 24, 2015
.dockerignore Run doctest as part of validate.sh Dec 11, 2019
.ghci Add config files for ghcid. Jun 8, 2018
.ghcid Add config files for ghcid. Jun 8, 2018
.gitattributes [.gitattributes] * -text Jan 20, 2020
.gitignore Use virtualenv to (help) build docs Dec 4, 2018
.mailmap Update .mailmap. Aug 27, 2019
.mention-bot Update .mention-bot Sep 16, 2016
.projectile Add .projectile file to support emacs projectile-mode Jun 9, 2018
.readthedocs.yml Add .readthedocs.yml config file and pin to Python v2.7. Apr 6, 2020
AUTHORS Update AUTHORS. [ci skip] Aug 27, 2019
CONTRIBUTING.md Remove Slack notifications Nov 2, 2019
LICENSE Update copyright years Apr 3, 2020
Makefile Make cabal-install compilable with NoImplicitPrelude May 18, 2020
README.md Split contributing guidelines into its own file. [ci skip] Apr 12, 2019
appveyor-retry.cmd Retry when running Appveyor to work around failures. Feb 8, 2017
appveyor.yml Bump version to 3.3.0.0 Dec 12, 2019
cabal.project Create Cabal-described May 13, 2020
cabal.project.buildinfo Create Cabal-described May 13, 2020
cabal.project.libonly Makefile rule to build Cabal with GHC-7.6 Nov 19, 2019
cabal.project.local.travis Merge pull request #5730 from haskell/remove-unix-constraiant Dec 3, 2018
cabal.project.meta Distribution.SPDX modules Dec 24, 2017
cabal.project.release Add -fexpose-all-unfoldings to parsec and Cabal in release project Apr 13, 2020
cabal.project.validate Create Cabal-described May 13, 2020
cabal.project.validate.libonly Support execution of individual steps in validate.sh Dec 25, 2019
cabal.project.weeder Add weeder May 11, 2020
generics-sop-lens.hs Fix typos Dec 20, 2019
ghc-packages Rename the cabal directory to Cabal Oct 23, 2011
id_rsa_cabal_website.aes256.enc Rename a file. Jul 18, 2016
release-checklist.md Cabal-3.2 knows GHC-8.10 Feb 3, 2020
stack.yaml Bump Stack resolver (old one fails to build) May 9, 2018
travis-bootstrap.sh Turn off failing test. Jan 1, 2019
travis-common.sh Bump version to 3.3.0.0 Dec 12, 2019
travis-deploy.sh Bump version to 3.3.0.0 Dec 12, 2019
travis-install.sh Add GHC-8.8 job to travis Dec 2, 2019
travis-meta.sh [.gitattributes] * -text Jan 20, 2020
travis-script.sh Add GHC-8.8 job to travis Dec 2, 2019
travis-solver-debug-flags.sh Use new-build for solver-debug-flags Travis job. Mar 31, 2018
travis-stack.sh Use downloaded version of stack in travis CI May 9, 2018
validate.sh require cabal-versions >=1.25 to be exact Apr 13, 2020
weeder.dhall Add more weeder roots May 12, 2020

README.md

Cabal Hackage version Stackage version Build Status Windows build status Documentation Status

This Cabal Git repository contains the following packages:

The canonical upstream repository is located at https://github.com/haskell/cabal.

Installing Cabal (by downloading the binary)

Prebuilt binary releases can be obtained from https://www.haskell.org/cabal/download.html. The cabal-install binary download for your platform should contain the cabal executable.

Installing Cabal (with cabal)

Assuming that you have a pre-existing, older version of cabal-install, run:

cabal install cabal-install

To get the latest version of cabal-install. (You may want to cabal update first.)

To install the latest version from the Git repository, clone the Git repository and then run:

(cd Cabal; cabal install)
(cd cabal-install; cabal install)

Installing Cabal (without cabal)

Assuming you don't have a pre-existing copy of cabal-install, run:

cabal-install $ ./bootstrap.sh # running ./bootstrap.sh from within in cabal-install folder.

For more details, and non-unix like systems, see the README.md in cabal-install and Contributing Guidelines.

You can’t perform that action at this time.