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

Only use ASCII with nix output messages #1291

Closed
unode opened this issue Mar 26, 2017 · 2 comments
Closed

Only use ASCII with nix output messages #1291

unode opened this issue Mar 26, 2017 · 2 comments

Comments

@unode
Copy link
Member

unode commented Mar 26, 2017

I don't know when this change was introduced but it became more apparent as of nix-1.11.7.

Nix makes use of ‘%1%’ for displaying paths.
When running nix commands (e.g. in cron-jobs) I now get output like this:

path �/nix/store/00ai2akd0m5cnzxn6z68pd8lnhxz2zg5-python3.5-PythonEnv.drv� is not in the Nix store at /nix/var/nix/gcroots/system/bin/nix-shell line 263.

The same character is also shown as _ or some other symbol when running inside screen or tmux. This sometimes gets in the way when copy-pasting a path.

The garbled output is likely related to encoding/locale issues but I was wondering if using ASCII backticks instead of ‘ ’ would be an acceptable solution.

Your thoughts?

@veprbl
Copy link
Member

veprbl commented Mar 26, 2017

Some context:
#1140
215b70f

@unode
Copy link
Member Author

unode commented Mar 26, 2017

@veprbl thanks. Closing as duplicate and moving discussion to #1140

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

2 participants