Open wizzup opened 5 years ago
@wizzup I worked around this by specifying a NIX_PATH that I know has the right ghc in it. In my case, I needed something with ghc 8.6.3 but in the nixpkgs for my user it has been dropped and replaced with 8.6.4. So I had to backtrack and find a revision with 8.6.3 in it and use that.
NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/68be6bbc31351a4cf5b6431d746dc390ed29c16c.tar.gz stack2nix .
HTH
@purefn Thanks, That's one way to do it. I end-up edit the stack.yaml
to use the one that matched my current version (lts-13.21).
I think if stack2nix can't build deps it should have a better error message.
Try to convert gloss project to nix expression and got following error
I am on NixOS but my channel no longer have
ghc861
for a very long time after many updates