Skip to content

Instantly share code, notes, and snippets.

@bshepherdson
Created January 27, 2013 19:09
Show Gist options
  • Select an option

  • Save bshepherdson/4649838 to your computer and use it in GitHub Desktop.

Select an option

Save bshepherdson/4649838 to your computer and use it in GitHub Desktop.
My Mac cabal config
-- This is the configuration file for the 'cabal' command line tool.
-- The available configuration options are listed below.
-- Some of them have default values listed.
-- Lines (like this one) beginning with '--' are comments.
-- Be careful with spaces and indentation because they are
-- used to indicate layout for nested sections.
-- This configuration follows the layout of Haskell Platform on Mac OS X,
-- placing all installed package parts in the directories
-- /Library/Haskell for packages installed --global
-- ~/Library/Haskell for packages installed --user (the default)
-- === Built executables will be installed in:
-- ~/Library/Haskell/bin
--
-- You may wish to place this on your PATH by adding the following
-- line to your ~/.bash_profile:
-- export PATH="$HOME/Library/Haskell/bin:$PATH"
-- === When documentation is built, a master index to all documentation
-- will be placed in:
-- ~/Library/Haskell/doc/index.html
--
-- You may wish to bookmark that file
remote-repo: hackage.haskell.org:http://hackage.haskell.org/packages/archive
remote-repo-cache: /Users/braden/Library/Haskell/repo-cache
-- local-repo:
-- logs-dir:
world-file: /Users/braden/Library/Haskell/logs/world
-- verbose: 1
-- compiler: ghc
-- with-compiler:
-- with-hc-pkg:
-- scratchdir:
-- program-prefix:
-- program-suffix:
-- library-vanilla: True
library-profiling: True
-- shared: False
-- executable-profiling: False
-- optimization: True
-- library-for-ghci: True
-- split-objs: False
-- executable-stripping: True
-- user-install: True
-- package-db:
-- flags:
-- extra-include-dirs:
-- extra-lib-dirs:
-- constraint:
-- tests: False
-- cabal-lib-version:
-- preference:
documentation: True
doc-index-file: /Users/braden/Library/Haskell/doc/index.html
-- upgrade-dependencies:
-- only-dependencies:
root-cmd: sudo
symlink-bindir: /Users/braden/Library/Haskell/bin
build-summary: /Users/braden/Library/Haskell/logs/build.log
-- build-log:
remote-build-reporting: anonymous
-- one-shot:
-- username:
-- password:
-- username:
-- password:
install-dirs user
prefix: /Users/braden/Library/Haskell/$compiler/lib/$pkgid
-- bindir: $prefix/bin
-- libdir: $prefix/lib
libsubdir:
-- libexecdir: $prefix/libexec
-- datadir: $prefix/share
datasubdir:
docdir: $prefix/doc
-- htmldir: $docdir/html
-- haddockdir: $htmldir
install-dirs global
prefix: /Library/Haskell/$compiler/lib/$pkgid
-- bindir: $prefix/bin
-- libdir: $prefix/lib
libsubdir:
-- libexecdir: $prefix/libexec
-- datadir: $prefix/share
datasubdir:
docdir: $prefix/doc
-- htmldir: $docdir/html
-- haddockdir: $htmldir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment