Skip to content
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

Unicode-outputting integration tests fail with --nix #3101

Open
Fuuzetsu opened this issue Mar 31, 2017 · 3 comments
Open

Unicode-outputting integration tests fail with --nix #3101

Fuuzetsu opened this issue Mar 31, 2017 · 3 comments

Comments

@Fuuzetsu
Copy link
Contributor

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: <stdout>: 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

@qrilka
Copy link
Contributor

qrilka commented Feb 26, 2019

It appears to be resolved in #4294

@Fuuzetsu
Copy link
Contributor Author

I'm unable to confirm (time-wise), feel free to close.

@qrilka
Copy link
Contributor

qrilka commented Feb 27, 2019

Running that test on the current master still fails but with a different error:

       stderr:
       Running: /home/qrilka/ws/h/stack/.stack-work/install/x86_64-linux-nix/custom-snapshot-for-building-stack-with-ghc-8.2.2-M5bKQSIGuB0R/8.2.2/bin/stack build
       File path contains a name which is not a valid package name: /run/user/1000/stack-integration-1337-unicode-everywhere4853/stack: <stderr>: commitBuffer: invalid argument (invalid character)
       Main.hs: Exited with exit code: ExitFailure 1
       CallStack (from HasCallStack):
         error, called at /home/qrilka/ws/h/stack/test/integration/lib/StackTest.hs:52:34 in main:StackTest
         stack, called at /home/qrilka/ws/h/stack/test/integration/tests/1337-unicode-everywhere/Main.hs:9:13 in main:Main
       )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants