Questions tagged [stackage]

Stackage is a stable source of Haskell packages.

Stackage is a stable source of Haskell packages.

https://www.stackage.org

44 questions
3
votes
1 answer

How to install Stackage as the system default?

The installation instructions at the Stackage web site describe how to use it for one project. Is there a way how to configure Stackage to be the default for all users and install packages globally available to them?
Petr
  • 62,528
  • 13
  • 153
  • 317
3
votes
2 answers

My installed transformers version is not considered by cabal-install

I am totally new to Haskell an cabal and I'm trying to make yesod work. My cabal version is cabal-install version 1.20.0.3 using version 1.20.0.2 of the Cabal library This is what happends when I tru to install alex: $ cabal install alex Resolving…
Vitaly Olegovitch
  • 3,509
  • 6
  • 33
  • 49
3
votes
1 answer

cabal sandbox with stackage

I want to point my global cabal config to use stackage LTS only. Does cabal sandbox provide any value in that case? As I understand there should be no cabal hell anymore as all projects will use a predetermined set of package that are guaranteed to…
Aler
  • 15,097
  • 6
  • 23
  • 26
3
votes
1 answer

using stackage on windows

I am trying to use stackage on windows. I cloned the git repo, ran cabal install --only-dependencies, cabal configure, cabal build. Everything works then dist\build\Stackage\stackage.exe select Loading Haskell Platform Loading package…
Simon Bergot
  • 10,378
  • 7
  • 39
  • 55
2
votes
1 answer

Haskell package Not on Stackage, then how?

I want to use HList: Heterogeneous lists, but the package seems not on Stackage. I currently use stack. In this case what is the option besides going back to use Cabal?
Functor
  • 582
  • 1
  • 9
2
votes
1 answer

Install package that is not on stackage but on hackage

I'm trying to use a library that's on hackage, but not on stackage. Currently, the code doesn't seem to be hosted on git anywhere (although I could "fork" it). Are there any better ways than to just download the library locally and tell stack.yaml…
Alex Coleman
  • 607
  • 1
  • 4
  • 11
2
votes
1 answer

Can I put a custom package link to stack.yaml?

In order to print pretty vertical tree, I searched google and found a package pretty-tree. I want to import this package, but the problem is: It seems that the Stackage LTS does not include this package. So when I add pretty-tree to package.yaml…
chansey
  • 1,266
  • 9
  • 20
2
votes
1 answer

How do I get my nightly Haskell package into Stackage LTS?

Though the latest version of my package is appearing as expected in Stackage Nightly, it is not appearing in LTS, and instead an older version is appearing there. How do I get the latest version to appear in LTS?
orome
  • 45,163
  • 57
  • 202
  • 418
2
votes
2 answers

Is a package excluded from Stackage LTS because of an omitted dependency?

I'm a bit confused about how a dependency on a package affects including it in Stackage LTS; specifically, if package A requires package B, and package A works when package B is installed as an extra-dep on top of LTS-X.Y, but package B itself is…
orome
  • 45,163
  • 57
  • 202
  • 418
2
votes
1 answer

lts 9.9 is associated with ghc 8.0.2. why does it use 8.0.1

I have a stack yaml with resolver lts-9.9 which is associated with ghc 8.0.2 (see https://www.stackage.org/lts-9.9 but when I run stack solver I see: Using resolver: lts-9.9 Using compiler: ghc-8.0.1 and not ghc-8.0.2. This seems to violate that a…
user855443
  • 2,596
  • 3
  • 25
  • 37
2
votes
1 answer

How can I use Stackage's cabal.config files with nix-style cabal?

Stackage provides a cabal.config file with each snapshot, e.g. this one. How can I make cabal new-configure a project with the package versions from that file? (Alternatively: Is there another way to configure a nix-style cabal project with…
sjakobi
  • 3,546
  • 1
  • 25
  • 43
2
votes
1 answer

Stack unsupported version

I'm trying to build libssh2-hs with stack (lts-3.20) and I get some errors: $ stack build No compiler found, expected minor version match with ghc-7.10.2 (x86_64-ncurses6) (based on resolver setting in…
GlinesMome
  • 1,549
  • 1
  • 22
  • 35
2
votes
0 answers

Cabal update fails with 404 error trying to access a non existing file when compiling Apache Thrift

I'm trying to install Apache Thrift on my system, which performs a cabal update command. This command fails with the following message: Downloading the latest package list from stackage cabal: Failed to…
Damian Nadales
  • 4,907
  • 1
  • 21
  • 34
2
votes
0 answers

stack setup 7.10.3 only installs 7.10.2

Can someone explain why stack setup 7.10.3 only installs 7.10.2? john@john-3-11:~$ stack setup 7.10.3 Already downloaded. Installed GHC. Would add the following to PATH:…
john mangual
  • 7,718
  • 13
  • 56
  • 95
2
votes
0 answers

wreq on fpcomplete wont compile

I am trying to import Network.Wreq on FPComplete. FPComplete does not have Wreq as in its preinstalled binaries, so I think the only way is in the extra packages section of the settings. Here is what I have so far: Hackage: PSQueue 1.1 Hackage: wreq…
Fresheyeball
  • 29,567
  • 20
  • 102
  • 164