Given stack.yaml:
...
nix:
enable: true
...
The project can't be build on Windows, since stack will try to use Nix also there. While it's possible to use Nix via cygwin or WSL, that's rarely done.
I suggest we disable Nix on Windows (and optionally support forcing it if really wanted).