2016-04-07 22:40:48 +0200enthropyhas for example a directory ~/.cabal/share/x86_64-linux-ghc-7.6.3/criterion-0.8.1.0, but it varies between OS / how you install
2016-04-07 22:39:03 +0200 <enthropy> cabal includes files you list in data-files in the package, and creates a Paths_yourpackagename module that tells you where to find it
2016-04-07 10:32:30 +0200 <rydgel> cariveri: basically yes. Install Linux, install Stack. Make a new project with Stack and add gtk2hs or other dependencies in your new generated cabal file. Then Stack will automaticcaly install what's missing even the correct GHC compiler and so on.
2016-04-07 10:32:29 +0200 <Athas> Actually, now I'm curious, how does Stack with with multiple unreleased packages that depend on each other? In Cabal it Just Works, because they all install to the same database, so your just 'cabal install' them manually one after another.
2016-04-07 10:30:43 +0200 <rydgel> Stack changed my life. I used Cabal for years and stuff and was used to its problem. But now I can't go back. I don't see myself not using Stack anymore.
2016-04-07 10:30:11 +0200 <cdtdev> For example, Stack takes care of "Cabal hell" for you.
2016-04-07 10:29:42 +0200 <rydgel> cariveri: It's something similar to Cabal yes, actually it uses Cabal under the hood but simplify everything
2016-04-07 10:29:42 +0200 <cdtdev> It works with cabal, but manages a lot of stuff for you to help things from breaking.
2016-04-07 10:28:15 +0200 <cariveri> Stack? hmm. it is like cabal or additional?
2016-04-07 01:29:20 +0200 <agocorona> no, it's okay. it is an ambiguous message in cabal
2016-04-07 01:24:48 +0200 <agocorona> is it possible to get the profiling libraries for base and network? cabal & stack refuses to compile it with profiling
2016-04-07 01:22:41 +0200 <orion> What's the canonical way of enabling llvm for one project without editing the .cabal file?
2016-04-06 22:36:08 +0200 <Cale> agocorona: Or turn it on in your ~/.cabal/config
2016-04-06 22:36:01 +0200 <kadoban> agocorona: Are you using stack or cabal-install?
2016-04-06 22:35:58 +0200 <Cale> agocorona: --enable-library-profiling if you're installing the library with cabal
2016-04-06 22:00:02 +0200 <daakr> i am trying to debug segfault that I get in a shared object (a library for C code) that I build from haskell code with cabal. can I somehow get debugging symbols?
2016-04-06 20:26:35 +0200hackagebotliquidhaskell-cabal 0.1.0.0 - Liquid Haskell integration for Cabal and stack https://hackage.haskell.org/package/liquidhaskell-cabal-0.1.0.0 (MichaelSmith)
2016-04-06 18:51:19 +0200 <GLM> Linking /private/var/folders/57/p7nyjyfd63lfwgzh_2y_m120myryqt/T/stack20003/network-2.4.2.3/.stack-work/dist/x86_64-osx/Cabal-1.18.1.5/setup/setup ...
2016-04-06 02:01:14 +0200 <japgolly> I've put `ghc-options: -Wall -O2 -eventlog -threaded -rtsopts -with-rtsopts=-N` in my blah.cabal file, stack build -v shows it's there, but when I run `stack exec blah +RTS -l` it says I need to build with -eventlog or -debug. :S
2016-04-06 00:48:10 +0200 <tippenein_> athan: that would make sense. maybe it's looking at cabal instead of stack
2016-04-05 23:24:26 +0200 <kclancy> dcoutts: I can't find the documentation on how to do this. I added "library-profiling: True" to my cabal.conf, but I am still getting error messages when I try to run the program with the "-xc" option
2016-04-05 23:19:30 +0200 <Aruro> does cabal rebuild whole doc index after single package install?
2016-04-05 23:19:07 +0200 <Aruro> which command to haddock cabal uses when installing single package? when option enable docs is on?
2016-04-05 23:05:22 +0200 <dcoutts> kclancy: cabal has direct support for building profiling libs, use that not ghc-options
2016-04-05 23:04:03 +0200 <kclancy> I add -prof to the ghc-options field in the cabal file.
2016-04-05 23:03:37 +0200 <kclancy> I'm having a hard time building my cabal project with -prof so that I can print out stack traces.
2016-04-05 21:02:19 +0200 <apriori> hello guys. is there a stack equivalent for "cabal list"?
2016-04-05 19:17:58 +0200 <joeyh> if I have one source file that needs -O2, will {-# OPTIONS_GHC -O2 #-} make that be used even if cabal is otherwise using -O0?
2016-04-05 14:42:18 +0200 <jophish> Is there a flag for cabal to stop it warning "The 'license' is AllRightsReserved. Is that really what you want?"
2016-04-05 08:22:33 +0200 <kadoban> NeverDie: I mentioned above. You add it to the .cabal file in the build-depends section. That's it. Next time you build the package, it'll build the dependency if it needs to.
2016-04-05 08:20:25 +0200 <kadoban> NeverDie: Well, that's fine (maybe? I dunno cabal-install anymore) if you want to use cabal-install. It won't do anything for stack though.
2016-04-05 08:19:33 +0200 <NeverDie> kadoban: I just did cabal install -j --disable-tests wreq
2016-04-05 08:19:07 +0200 <kadoban> NeverDie: It wouldn't really make sense the way cabal-install and stack work, unless it just edited the file for you. Which would be somewhat nice, but not that different.
2016-04-05 08:09:14 +0200 <cocreature> add wreq to the build-depends in your cabal file
2016-04-05 08:09:12 +0200 <kadoban> NeverDie: You put packages in the build-deps section of the .cabal file for the section that's going to use them (library or executable or test-suite), and then import them in the correct .hs file(s). wreq is a package.