We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Original Motivation:
When using nix copy on CI (to push to an s3 bucket), usually the build times out after 10 minutes because nothing is printed to CI
nix copy
Solution: use -v, CI will usually not be an interactive terminal
-v
Issue:
Turning of the fancy output on interactive shells requires stderr to be redirected to a non-interactive pipe like this:
stderr
nix copy -v … 2>&1 | cat
which is a bit hard to find out.
Request:
Fall back to simple output if TERM is set to dumb (which is customary and should be the default when using terminfo (stackoverflow source).
TERM
dumb
The text was updated successfully, but these errors were encountered:
Disable the progress bar if $TERM == dumb or unset
8f9dcfc
Fixes #3363.
d8fd31f
2f0122b
Fixes #3363. (cherry picked from commit d8fd31f)
8de75c2
Fixes NixOS#3363. (cherry picked from commit d8fd31f) (cherry picked from commit 2f0122b)
No branches or pull requests
Original Motivation:When using
nix copy
on CI (to push to an s3 bucket), usually the build times out after 10 minutes because nothing is printed to CISolution: use
-v
, CI will usually not be an interactive terminalIssue:
Turning of the fancy output on interactive shells requires
stderr
to be redirected to a non-interactive pipe like this:which is a bit hard to find out.
Request:
Fall back to simple output if
TERM
is set todumb
(which is customary and should be the default when using terminfo (stackoverflow source).The text was updated successfully, but these errors were encountered: