Skip to content

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

Open

Description

@Fuuzetsu

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

Activity

  1. qrilka commented on Feb 26, 2019

    @qrilka
    Contributor

    It appears to be resolved in #4294

  2. Fuuzetsu commented on Feb 27, 2019

    @Fuuzetsu
    ContributorAuthor

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

  3. qrilka commented on Feb 27, 2019

    @qrilka
    Contributor

    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
           )
    
  4. added this to the P1: Must milestone on Mar 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions