commercialhaskell / commercialhaskell/stack

Unicode-outputting integration tests fail with --nix

Open
#3,101 3 comments 0 reactions 0 assignees View on GitHub
component: nix component: testing type: bug
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

### General summary/comments (optional)
`new-package-names` and `1337-unicode-everywhere` fail with `stack --nix`

### Steps to reproduce
` stack --nix test --flag stack:integration-tests stack:stack-integration-test`

### Expected
Passing test

### Actual

` Main.hs: /home/shana/programming/stack/.stack-work/install/x86_64-linux-nix/lts-8.5/8.0.2/bin/stack: recoverEncode: invalid argument (invalid character)`
` cabal file path /run/user/1000/stack-integration-1337-unicode-everywhere12842/stack-integration-test: : commitBuffer: invalid argument (invalid character) `

Might want to set locale &c. in `shell.nix` or similar such fix.

### Stack version
`4abb06db83bda2103255c8812989520d17be332e`

### Method of installation
hacking in repo

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.