Skip to content

Upgrade Stackage nightly and stop using Nix with Stack#332

Merged
utdemir merged 3 commits intomasterfrom
ud/use-stack-nightly
Jun 24, 2021
Merged

Upgrade Stackage nightly and stop using Nix with Stack#332
utdemir merged 3 commits intomasterfrom
ud/use-stack-nightly

Conversation

@utdemir
Copy link
Copy Markdown
Contributor

@utdemir utdemir commented Jun 24, 2021

(opinionated PR, so please do discuss if you disagree)

The latest Stackage nightly (2021-06-21) is the first resolver with GHC 9.0.1, so now stack can install the compiler itself, without us having to provide it via Nix.

I gave it a go and saw that on a fresh Ubuntu machine stack was able to build linear-base from scratch. I think this would be a welcome change for people who wants to tinker on linear-base without having to install Nix. We still have the bug in #264, so stack can not run our tests.

Nix users can still use cabal, or manually pass --nix flag to stack (or use the global configuration file).

I also created a small CI step to ensure that the project can be built with stack.

Since a GHC 9 nightly is out, we should also aim to get linear-base into Stackage. I will create a separate issue for that.

@utdemir utdemir requested a review from aspiwack June 24, 2021 02:57
Copy link
Copy Markdown
Member

@aspiwack aspiwack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much appreciated.

Small change to the CI action below.

Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
@utdemir utdemir force-pushed the ud/use-stack-nightly branch from 93c8a34 to 7d23769 Compare June 24, 2021 07:10
@utdemir utdemir merged commit ebeb362 into master Jun 24, 2021
@utdemir utdemir deleted the ud/use-stack-nightly branch June 24, 2021 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants