After bumping GHC from “ghc8107” to “ghc924”, Stack is not working anymore.
It seems the way to add flags has changed. Here trying to generate a new cabal file:
$ stack hpack stack: WARNING! Expecting stack options comment at line 1, column 1 stack: WARNING! Missing or unusable stack options specification stack: WARNING! Using runghc without any additional stack options Invalid argument `nix/stack-integration.nix' Error executing interpreter command: stack --nix --no-nix-pure --nix-shell-file runghc -- nix/stack-integration.nix hpack
Stack version is “2.7.5 x86_64 hpack-0.34.7”, apparently it should be hpack 0.35 but I could not find a way to bump it.
I looked at Stack documentation to see if I could spot a format change in parameter but found nothing.
Any idea where to look please? Or even better, a fix!
I tried a different order:
$ stack --nix --no-nix-pure --nix-shell-file nix/stack-integration.nix runghc -- hpack Invalid option `--nix-shell-file'