CI: pin hackage and stackage indexes independently of haskell.nix
Description
Problem: we use default hackage and stackage pins provided by haskell.nix. It means that when a developer wants to add a new dependency, they have to bump haskell.nix, which means that CI might need to rebuild GHC and all haskell dependencies, which takes a long time
Solution: use separate pins for hackage and stackage indexes, so that they can be updated independently
Related issue(s)
None
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Zhenya Vinogradov