-
Notifications
You must be signed in to change notification settings - Fork 841
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
stack bench fails to run gauge benchmarks with Nix mode #4095
Comments
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. |
Thanks @snoyberg
So it looks like the problem is about "²", e.g.
I'll try to look on how to resolve this either on |
Steps to reproduce
Run
stack bench --nix
on https://github.com/qrilka/gauge-testExpected
Proper benchmark output as e.g. with
stack bench
Actual
Benchmark run fails:
Stack version
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: