0

According to this comment, you can cause cabal-install to also hyperlink the source of the package you are installing. Where does it put theses sources? Do I need to enable any other options or packages to acquire them?

Community
  • 1
  • 1
PyRulez
  • 10,513
  • 10
  • 42
  • 87

1 Answers1

3

Look at your ~/.cabal/config file for the install-dirs stanza:

install-dirs user
  prefix: ...
  -- bindir: $prefix/bin
  libdir: $prefix/$compiler-$arch/lib
  libsubdir: $pkgid
  -- libexecdir: $prefix/libexec
  -- datadir: $prefix/share
  datasubdir: $compiler-$arch/$pkgid
  docdir: $prefix/$compiler-$arch/lib/$pkgid/doc

The docdir setting is what you're interested in.

ErikR
  • 51,541
  • 9
  • 73
  • 124