stackage

My installed transformers version is not considered by cabal-install

寵の児 提交于 2021-02-07 22:38:50
问题 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 dependencies... cabal: Could not resolve dependencies: trying: alex-3.1.4 (user goal) next goal: QuickCheck (dependency of alex-3.1.4) rejecting: QuickCheck-2.8.1, 2.8 (global constraint requires ==2.7.6) trying: QuickCheck-2.7.6 next goal:

My installed transformers version is not considered by cabal-install

Deadly 提交于 2021-02-07 22:38:11
问题 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 dependencies... cabal: Could not resolve dependencies: trying: alex-3.1.4 (user goal) next goal: QuickCheck (dependency of alex-3.1.4) rejecting: QuickCheck-2.8.1, 2.8 (global constraint requires ==2.7.6) trying: QuickCheck-2.7.6 next goal:

Why doesn't stack add packages to the ghc package database?

喜欢而已 提交于 2019-12-22 05:34:14
问题 I've decided to try giving stack a shot. I've installed it and used it to install the latest version of ghc. I've used stack to install some packages but the packages are not visible to ghc and when I list packages with ghc-pkg I see that the packages that I've installed through stack are not there. Why is this? Am I misunderstanding the purpose of stack? 回答1: Stack never touches global packages database. It uses layered database approach global database - untouched packages in the stackage

How can I test a new ghc build against stackage

这一生的挚爱 提交于 2019-12-12 13:29:23
问题 I've built ghc-HEAD and I want to try building all of a stackage lts or nightly to see how much it can do. Nothing I say can convince stack to build anything using my new ghc. I try setting up like: stack setup 8.1.20160209 --ghc-variant=aarch64-HEAD --ghc-bindist=https://s3-us-west-1.amazonaws.com/stack-aarch64/ghc-8.1.20160209-aarch64-unknown-linux.tar.xz And then I download an lts config.cabal and copy all of the packages into my.cabal file. This is all that's necessary to build everything