Where does cabal put the hyperlinked source?

64 Views Asked by At

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?

1

There are 1 best solutions below

0
On

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.