cabal-install Questions

1

Cabal-newstyle has a habit to occasionally install, like, all dependencies from scratch for no apparent reason. For a project using lens and other common packages, this can take upwards of ½ hour, ...

2

Solved

I want to install Cabal 3.4.0.0 on Ubuntu 20.04. $ sudo apt install cabal-install $ cabal --version cabal-install version 2.4.0.0 $ sudo cabal update $ sudo cabal install Cabal cabal-install ... S...
Frugal asked 13/3, 2021 at 16:29

2

Solved

I have a Haskell package I've installed from Hackage, using cabal and would like to run the tests suites that are part of the package, but it isn't clear to me from the cabal documentation how to d...
Sosthenna asked 9/10, 2015 at 14:26

1

I've written an application in Haskell and it's starting to become slightly useful to users. However my application isn't targeted at technically adept folks, let alone Haskell developers, so build...
Bearable asked 12/8, 2021 at 17:11

3

Using cabal, I could install hakyll with the command: cabal install hakyll How can I do the same thing using stack?

1

Solved

The commands install, v1-install, v2-install and new-install are simply described to "Install packages" when running man cabal. Are they different from one another? Which is the preferred...
Vivianaviviane asked 8/3, 2021 at 19:0

2

Solved

I'm getting an error that says the module doesn't exist when I try to runhaskell. It's odd because I try to install it first and says its up to date. Any idea how to fix this?
Unmeriting asked 10/9, 2020 at 20:57

1

Solved

I try to install "System.Random" by cabal through Powershell & Git Bash. getting this result. PS C:\Users\xxx> cabal install random Resolving dependencies... Up to date Warning: You asked...
Stuckey asked 4/6, 2020 at 20:16

2

Solved

If I build my Haskell project under nix-shell it gives error about missing zlib. If I build the project in nix-shell using nix-shell -p zlib then the project sees zlib and builds successfully. Ho...
Cargill asked 10/10, 2019 at 15:54

1

Solved

The current documentation of cabal shows a sandbox subcommand. The respective page on github no longer contains the section on sandboxes. I'm using cabal version 3.2.0.0, but the sandbox subcomma...
Hypophyge asked 21/5, 2020 at 16:29

1

Solved

I recently upgraded to Cabal 3.2 (and GHC 8.10) and I am running into some major issues that make some of my project non-buildable anymore... Thorough description of the problem Here is a minimal...
Ornithine asked 12/3, 2020 at 9:20

2

Solved

I'm limited by 1GB memory on my server hosting. When I want to compile some big program like git-annex, Cabal eats lot of memory. Is there a way to limit cabal or gcl using some option to limit mem...
Mattoid asked 5/11, 2015 at 13:55

2

I am trying to install helm. When I try to install it, however I get this error: $ cabal install helm Resolving dependencies... Configuring sdl2-1.1.0... cabal: The pkg-config package 'sdl2' versi...
Neglectful asked 7/9, 2014 at 17:59

4

I have a package installed via cabal: Data.Vector But when I attempt to compile a program that has import Data.Vector in it: Drews-MacBook-Pro:Blokus-AI drewgross$ ghc --make -O2 -prof -auto-all ...
Accalia asked 10/12, 2012 at 2:25

1

Solved

I want to use parsec for a personal project. But when I invoke cabal install parsec, I get an error: clang: error: unknown argument: '-no-pie' gcc' failed in phase `C Compiler'. (Exit code: 1) I...
Allegiance asked 17/5, 2018 at 8:30

2

Solved

I first do the cabal update/upgrade process so I have cabal-install-1.20.0.3. Then I do: cabal install idris I get: ... idris-0.9.14.1 (new version) The following packages are likely to be brok...
Menes asked 23/8, 2014 at 20:14

2

Solved

I'm trying to install a program called clanki on Windows 10. In it's installation doc it says to use 'cabal install clanki'. I downloaded cabal, then ghc. Now I run into a version problem for the p...
Archeozoic asked 13/10, 2016 at 13:22

4

I first tried to install Hlint. cabal install hlint but then I got the error: cabal: Error: some packages failed to install: cpphs-1.20.2 depends on old-time-1.1.0.3 which failed to install. haske...
Construct asked 11/9, 2016 at 9:31

0

I am trying to move a project from cabal to stack. It was painless up until I tried to make alex use a custom wrapper. Now I'm stuck. I used to use cabal build --alex-options=".." to pass them on,...
Chadd asked 30/5, 2016 at 6:12

1

Solved

EDIT FOR FUTURE SOULS STUMBLING ONTO THIS: It would be unwise to copy any of my commands below, do not execute them. Just check out Zeta's answer for why I was approaching this incorrectly. ORIGI...
Baptista asked 24/1, 2016 at 22:27

2

When I do cabal install criterion I get the following error regarding the package vector-algorithms Warning: The package list for 'hackage.haskell.org' is 16 days old. Run 'cabal update' to get t...
Amnesia asked 18/10, 2011 at 21:5

1

Solved

I am using Haskell version 7.8.4 on (X)Ubuntu 15.10, with Cabal-Install 1.18 both installed through apt. I have not attempted to install anything Haskell-related by hand on this machine. I set up a...
Dagon asked 7/12, 2015 at 7:32

1

Solved

So I'm trying to use reactive-banana + wxHaskell for GUI programming. As a newbie to Haskell and its dev tools, I'm very perplexed by stack. So I try stack install wx, which prompts me to install...
Nimiety asked 30/11, 2015 at 23:16

1

Solved

What is the role of the ~/.cabal/world file, and what do its contents mean? I can't find any documentation and am confused by what I see there. For example, it corresponds to nether the packages i...
Commercialism asked 4/10, 2015 at 14:1

1

If I do a cabal build on my library, then change a file, the next time I run cabal build, I only have to recompile files affected by the changes. I'm not getting the same behavior with the cabal ha...
Soleure asked 21/9, 2015 at 17:57

© 2022 - 2024 — McMap. All rights reserved.