stack bench fails to run gauge benchmarks with Nix mode #4095
Steps to reproduce
Proper benchmark output as e.g. with
Benchmark run fails:
Method of installation
Tested with 1.6.5 shipped with NixOS, 1.6.1 on Gentoo, 1.7.1 on NixOS build from the sources
The text was updated successfully, but these errors were encountered:
This is probably unrelated to Stack itself. Stack's Nix integration uses pure mode IIRC, which means that env vars like LANG won't be passed through, resulting in the program being unable to output non-ASCII characters. Recommendations:
Potential "fix" inside Stack I can think of is telling Nix to always pass along appropriate language env vars, though I know almost nothing about Nix or the Nix integration in Stack.
So it looks like the problem is about "²", e.g.
I'll try to look on how to resolve this either on