-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Labels
Description
Steps to reproduce
Run stack bench --nix on https://github.com/qrilka/gauge-test
Expected
Proper benchmark output as e.g. with stack bench
Actual
Benchmark run fails:
$ stack build --bench
gauge-test-0.1.0.0: benchmarks
Running 1 benchmarks...
Benchmark bench: RUNNING...
benchmarked trivial/trivial
time 6.356 ns (6.331 ns .. 6.386 ns)
bench: <stdout>: hPutChar: invalid argument (invalid character)
1.000 RBenchmark bench: ERROR
-- While building custom Setup.hs for package gauge-test-0.1.0.0 using:
/home/kirill/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-2.0.1.0 bench bench
Process exited with code: ExitFailure 1
Stack version
$ stack --version
Version 1.6.5 x86_64
Compiled with:
- Cabal-2.0.1.0
- Glob-0.9.1
...
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