input-output-hk / input-output-hk/stack2nix

stack2nix 0.2.2 doesn't support stack.yaml using ghc-head

Open
#158 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Nix
Stars
100
Forks
28
PR merge metrics
No merged PRs in 30d

Description

When calling `stack2nix` with a `stack.yaml` file including `resolver: ghc-8.9` (with extra `setup-info` fields containing the ghc-head bindist urls), `stack2nix` fails with:

```
Ensuring git version is >= 2 ...
Ensuring cabal version is >= 2 ...
stack2nix: haskell.compiler.ghc89 failed to build via nix
CallStack (from HasCallStack):
error, called at src/Stack2nix/Util.hs:79:22 in stack2nix-0.2.2-5woVHnZZPquEpQd1dyekQ7:Stack2nix.Util
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.