2015-04-10 15:45:57 +0200 <quchen2> cabal configure --enable-te<TAB>, that thing.
2015-04-10 15:45:20 +0200 <Clint> we're talking about cabal-install here, right?
2015-04-10 15:44:42 +0200 <quchen2> But Cabal supports completion out of the box, doesn't it
2015-04-10 15:44:21 +0200 <Clint> quchen2: nobody's written any cabal completion for zsh yet
2015-04-10 15:40:33 +0200 <quchen2> Maybe if my zsh supported Cabal completion I wouldn't be so happy about this
2015-04-10 15:37:41 +0200 <bennofs> quchen2: newer cabal has --enable-pr instead of --enable-executable-pr
2015-04-10 15:36:42 +0200 <quchen2> cabal configure --enable-te --dep --haddock-hyp
2015-04-10 15:34:12 +0200 <hexagoxel> cabal install --dep (shortcut for --dependency-only)
2015-04-10 15:31:50 +0200 <ph88> does anyone know how i can build a library with cabal ?
2015-04-10 14:10:14 +0200 <jellie> bergmark: Do you know how I can make this file reflect that https://github.com/chrisdone/haskell-docs/blob/master/haskell-docs.cabal
2015-04-10 11:16:07 +0200 <ph88> luite: what i did was cabal get fft then cabal sandbox add-source fft-0.1.8 then modify the fft.cabal file
2015-04-10 11:15:56 +0200 <luite> cabal repl will try to build it for you, and it has just told you what's wrong :)
2015-04-10 11:15:06 +0200 <luite> ph88: uh... so for 'cabal exec' you shouldve installed the package first
2015-04-10 11:14:33 +0200 <ph88> luite: cabal repl does not seem to work http://pastebin.com/pHQQ130Z
2015-04-10 11:13:08 +0200 <ph88> luite: cabal -V cabal-install version 1.22.2.0
2015-04-10 11:10:09 +0200 <luite> ph88: check if cabal repl works, :l fuz.hs
2015-04-10 11:09:26 +0200 <luite> ph88: you need a recent cabal-install version (1.22) for that to work in a sandbox
2015-04-10 11:03:02 +0200 <ph88> luite: i think i made a mistake with the configuration so i try this now http://pastebin.com/thjiXRkM but still it doesn't work --> Could not find module `Math.FFT' for command: cabal exec runhaskell fuz.hs
2015-04-10 10:59:51 +0200 <ph88> luite: i already had extra-libraries, but not include-dirs ... i added this now. But my scripts is still unable to find module Math.FFT when i do: cabal exec runhaskell fuz.hs
2015-04-10 10:42:59 +0200 <luite> ph88: example here https://www.haskell.org/cabal/users-guide/developing-packages.html
2015-04-10 10:41:13 +0200 <ph88> how can i tell cabal to use a FFI/C library/header file on windows ?
2015-04-10 10:10:18 +0200 <ph88> geekosaur: the package cabal http://pastebin.com/4FHiLGA4
2015-04-10 04:14:06 +0200 <pharpend> glguy: I assumed it was ghc that was faster, but maybe cabal got better
2015-04-10 04:13:52 +0200 <pharpend> glguy: I may be talking about cabal. (I gathered this from cabal installing some stuff)
2015-04-09 22:46:50 +0200 <hexagoxel> only caveat is that you should not `cabal exec` again inside that environment, afaik
2015-04-09 22:46:29 +0200 <hexagoxel> athan: there is the `cabal exec bash` trick as well, which gives you a sandbox-aware shell (by the virtue of GHC_PACKAGE_PATH defined appropriately in the env) :)
2015-04-09 22:44:30 +0200 <athan> I knew about cabal exec, but I thought it was just for an executable in the install path
2015-04-09 22:43:05 +0200 <hexagoxel> (if you `cabal exec -- sh -c "echo \$GHC_PACKAGE_PATH"`, you see what cabal would forward to ghc)
2015-04-09 22:42:04 +0200 <hexagoxel> oconnore: also, you know of `cabal exec`, right?
2015-04-09 22:34:10 +0200 <oconnore> What file does ghc need to reference a cabal sandbox? I'm getting: ghc: can't find a package database at .cabal-sandbox/x86_64-linux-ghc-7.8.4-packages.conf.d
2015-04-09 22:32:52 +0200hackagebotcblrepo 0.15.1 - Tool to maintain a database of CABAL packages and their dependencies http://hackage.haskell.org/package/cblrepo-0.15.1 (MagnusTherning)
2015-04-09 21:34:26 +0200 <hexagoxel> athan_: it should be completely irrelevant what compiler you used to retrieve a cabal-install executable. the thing that _can_ matter is what Cabal version is used (but that is not strictly connected to ghc version either; even though Cabal is a boot-lib, you can use a different one when compiling cabal-install)
2015-04-09 21:25:30 +0200 <athan_> Are Cabal / cabal-install mutually exclusive from using a particular version of GHC? For instance, if I compile cabal install on 7.8, can I use that executable with 7.10?
2015-04-09 21:04:42 +0200 <murz> Finally got my scotty project to compile.. thanks for all the help. I ran "cabal sandbox hc-pkg list" on one of the dependencies that were failing which said "WARNING: cache is out of date: /Library/Frameworks/GHC.framework/Versions/... Use 'ghc-pkg recache' to fix" so I used ghc-pkg recache and tried cabal install again and it worked!
2015-04-09 20:56:41 +0200 <mjrosenb> so, what is emacs doing when it asks to make a new cabal project?