Snapshot builds of stack available?

I need to use stack 1.3.3 in Travis CI due to a complication issue. The fix is not present in 1.3.2 and 1.3.3 has not been released yet. Currently, I am building stack myself from the source code in my Travis configuration. This adds time to the buil...
more »

2017-01-16 21:01 (0) Answers

Haskell stack and GHC.Paths.libdir

I am asking GHC for the lib path and it gives me a path that doesn't exist: bash-3.2$ stack eval GHC.Paths.libdir unknown option: 'c' "/Users/alexey/haskell/ghc-7.10.3/lib/ghc-7.10.3" This folder does not exist, not in my PATH and doesn't appear a...
more »

2017-01-13 14:01 (0) Answers

avoiding recompilation when types don't change

I have a large Haskell project with many packages built with stack. I have long recompilation times when I make trivial changes in a core model or some configuration data without changing any types. If this were C, I would have to only recompile the...
more »

2017-01-09 00:01 (0) Answers

haskell stack - random numbers package

We are new users trying to use random numbers in a new stack project, but cannot import System.Random. It doesn't seem to be in the curated set(?) We've got a new stack project setup as in the user manual. We've edited the cabal file putting random ...
more »

2017-01-04 18:01 (0) Answers

Haskell yesod Database settings

This is the first time I try to install Haskell yesod but I run through some problems $ yesod devel /usr/bin/ld: /home/romano/.stack/programs/x86_64-linux/ghc-tinfo6-7.10.3/lib/ghc-7.10.3/rts/libHSrts.a(Scav.o): relocation R_X86_64_32S against `.ro...
more »

2016-12-30 00:12 (0) Answers

Using a private git repository with Stack

I'm trying to configure stack to use the Haskell packages of a private git repository. Looking at the documentation it seems that the git repository can be added as local dependency. The problem is that I see no way of specifying the credentials for ...
more »

2016-12-28 23:12 (1) Answers

Should I use stack to build and upload to Hackage?

Over time I've developed a messy system level Haskell installation that I'm not sure how to completely clean up. But for the most part this isn't of much concern as I simply use stack to manage per-project Haskell configurations. However as my projec...
more »

2016-12-28 21:12 (0) Answers

Installing zlib using stack: recompile with -fPIC

When I run stack --resolver=lts-7.14 install zlib I'm getting message saying that package should be recompiled with -fPIC flag: Configuring zlib- Building zlib- Preprocessing library zlib- /usr/bin/ld: .stack-work/di...
more »

2016-12-28 17:12 (1) Answers

GLURaw failing due to missing header file

I'm trying to use gloss which depends on GLURaw, and getting this error: stack install --extra-lib-dirs=/usr/lib/nvidia-367 --extra-lib-dirs=/usr/lib/x86_64-linux-gnu /tmp/stack1018/GLURaw- error: fatal error: GL...
more »

2016-12-23 08:12 (0) Answers

haskell stack exception missing dependencies

I want to add the bound library to my package dependencies; The project is completely fresh initialized with stack new. The entry in the cabal file looks like this: executable DependendLambda-exe hs-source-dirs: app main-is: Mai...
more »

2016-11-22 21:11 (0) Answers

Stack on a multi user Linux/Unix system

How does stack function when installed on a multi user Linux/Unix system? Will stack share snapshot packages among the users? Any other issues of concerns? I also found this related question interesting: How do I install Haskell Stack locally? Is it...
more »

2016-11-21 14:11 (0) Answers