Skip to main content
174 votes
3 answers
57k views

Yesterday I learnt about a new Haskell tool called Stack. At the first blush, it looks like it does much the same job as Cabal. So, what is the difference between them? Is stack a replacement for ...
ZhekaKozlov's user avatar
  • 40.1k
123 votes
1 answer
2k views

I'm running into odd behavior with the Interactive-Haskell repl in emacs. When I source a file, the emacs mini buffer shows a series of interactive prompts: Start a new project named 'myproject'? ...
daj's user avatar
  • 7,243
86 votes
4 answers
49k views

Happstack Lite is breaking on me because it's getting blaze-html version 0.5 and it wants version 0.4. Cabal says that both versions 0.4.3.4 and 0.5.0.0 are installed. I want to remove the 0.5.0.0 ...
Norman Ramsey's user avatar
73 votes
5 answers
18k views

How do I tell stack to build my executable and all its dependencies with -prof? Simply adding it to ghc-options in the .cabal file is not enough, because it only tries to build the executable with ...
Sebastian Graf's user avatar
70 votes
1 answer
4k views

I would like my cabalised program to have a --version switch. I would like it to report the same version as is present in the .cabal file. If I have to update the version number separately in my ...
dave4420's user avatar
  • 47.2k
68 votes
3 answers
43k views

Using cabal, I could install hakyll with the command: cabal install hakyll How can I do the same thing using stack?
Ben's user avatar
  • 3,952
66 votes
2 answers
15k views

I forgot to enable building libs for profiling in my ~/.cabal/config before installing a bunch of packages on a new machine and now a --reinstall world to try to fix the situation has left everything ...
jberryman's user avatar
  • 16.7k
62 votes
5 answers
6k views

Here's a .cabal file: Name: myprogram Version: 0.1 -- blah blah blah Cabal-version: >=1.9.2 Executable myprogram HS-source-dirs: src Main-is: ...
dave4420's user avatar
  • 47.2k
58 votes
2 answers
9k views

If you declare a library + executable sections in a cabal file while avoiding double compilation of the library by putting the library into a hs-source-dirs directory, you cannot usually run your ...
nh2's user avatar
  • 26k
51 votes
2 answers
14k views

I have a Haskell project and Cabal package-description that allows me to build and install my package with $ cabal configure $ cabal build $ cabal install But what about cabal test? Cabal's help ...
Greg Bacon's user avatar
  • 141k
48 votes
1 answer
2k views

Given a set of cabal packages, is there a way to automatically calculate subset of independent packages? In other words, subset of packages that will be sufficient to install them all. For [network,...
ДМИТРИЙ М��ЛИКОВ's user avatar
46 votes
5 answers
12k views

I want to compile my program with profiling, so I run: $ cabal configure --enable-executable-profiling ... $ cabal build ... Could not find module 'Graphics.UI.GLUT': Perhaps you havent ...
yairchu's user avatar
  • 25k
46 votes
3 answers
3k views

I would like to use an external library, RDFox, in a Haskell project. Context: I am working on Windows and Linux, both 64 bits, using GHC 7.10 and stack. RDFox is programmed in C++. RDFox shared ...
Der Vogel's user avatar
  • 460
43 votes
3 answers
7k views

Does anyone know how to get cabal install to exploit parallelism? I'm compiling with GHC, and while I don't know if GHC itself can do parallel builds, surely cabal install could run multiple ...
Norman Ramsey's user avatar
41 votes
1 answer
8k views

The situation is, I am trying to install Netwire using Stack. However, there is a problem in the latest netwire 5.0.1, as reported by dhobbs: http://hub.darcs.net/ertes/netwire/issue/13 Since I don'...
Carl Dong's user avatar
  • 1,299

15 30 50 per page
1
2 3 4 5
124