Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stackage builds with new curator/Stack/Nix #4357

Merged
merged 8 commits into from
Feb 27, 2019

Conversation

qrilka
Copy link
Contributor

@qrilka qrilka commented Feb 6, 2019

Stackage builds will basically work with curator build (after snapshot was generated and check with curator) - I will need to add helper scripts doing that.
The PR to Stack repo with curator updates will follow and as Stackage builds are still running expect some additional updates of build-constraints.yaml

build-constraints.yaml Outdated Show resolved Hide resolved
@DanBurton
Copy link
Contributor

Exciting! Is the intent to switch over entirely to building snapshots on Nix, or to do both Nix and Ubuntu builds?

@qrilka
Copy link
Contributor Author

qrilka commented Feb 7, 2019

@DanBurton because of the way nixpkgs.haskellPackages work it looks like we couldn't easily deal with tests/benchmarks (the main problem imo is in dependency cycles) at the same time with Stack it almost just this invocation - https://github.com/commercialhaskell/stack/blob/master/subs/curator/app/Main.hs#L127 (Stack PR with some changes to make it work is to appear soon).
So at least as far as I understand the idea is to do Stackage builds/tests/bench builds with Stack and additionally test Stackage builds using Nix

@qrilka qrilka changed the title [WIP] Stackage builds with new curator/Stack/Nix Stackage builds with new curator/Stack/Nix Feb 26, 2019
@qrilka
Copy link
Contributor Author

qrilka commented Feb 26, 2019

As commercialhaskell/stack#4582 looks to be ready this one should be also OK to merge.
With one note though - it looks like stack2nix going to be deprecates so I'm currently checking out https://github.com/input-output-hk/nix-tools for Nix builds (but it needs a bit polishing in its current state)

@snoyberg snoyberg merged commit 5517c61 into commercialhaskell:master Feb 27, 2019
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.

3 participants