commercialhaskell / commercialhaskell/stack

Cabal-based Travis builds cache compiled binaries

Open
#2,527 0 comments 0 reactions 0 assignees View on GitHub
component: docs (online) type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

Cabal-based Travis build put `~/.cabal/bin` on the path even after though `.cabal` is cached, meaning we use whatever stack was build by the last build that updated the cache. In #2516 that's a stack with a bug due to some previous build.

In comparison, the stack-based build puts `.local` on the path, but that's not cached.

Possible solution: remove `~/.cabal/bin/stack` before starting the build. Other executables there might be needed, and they should be safe to cache.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.