Skip to content

stack2nix: <stdout>: commitBuffer: invalid argument (invalid character) #150

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

Closed
locallycompact opened this issue Nov 30, 2018 · 2 comments
Closed

Comments

@locallycompact
Copy link
Contributor

Hi, I'm having this issue running stack2nix on a project here: https://gitlab.com/zenhaskell/rio-etc-template/-/jobs/127902000

I've played around with locales but as far as I can tell nothing's wrong.

@domenkozar
Copy link
Contributor

We should probably add how to run stack2nix purely to the README.

I use:

nix-shell -I "nixpkgs=$nixpkgs" -p wget glibcLocales --run \
    "LANG=en_US.utf8 NIX_PATH=nixpkgs=$nixpkgs $(nix-build -A stack2nix --no-out-link)/bin/stack2nix --platform x86_64-linux --hackage-snapshot 2018-11-20T19:00:00Z . > stack2nix.nix"

@nh2
Copy link
Member

nh2 commented Aug 15, 2019

Commit cb05818 looks like it would have solved this.

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

No branches or pull requests

3 participants