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

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

Open
TerrorJack opened this issue Mar 11, 2019 · 1 comment
Open

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

TerrorJack opened this issue Mar 11, 2019 · 1 comment

Comments

@TerrorJack
Copy link

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
@domenkozar
Copy link
Contributor

domenkozar commented Mar 13, 2019

stack2nix supports only ghcs in nixpkgs, we should probably mention that.

Try haskell.compiler.ghcHEAD

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

No branches or pull requests

2 participants