lix/src/nix
Harald van Dijk c935ad3f02
Fix progress bar when nix-prefetch-url is piped.
The intent of the code was that if the window size cannot be determined,
it would be treated as having the maximum possible size. Because of a
missing assignment, it was actually treated as having a width of 0.

The reason the width could not be determined was because it was obtained
from stdout, not stderr, even though the printing was done to stderr.

This commit addresses both issues.
2019-11-03 21:46:59 +00:00
..
add-to-store.cc experimental/optional -> optional 2019-03-14 14:10:52 +01:00
build.cc Merge branch 'fix/dry-run-partially' of https://github.com/dtzWill/nix 2018-02-22 12:18:20 +01:00
cat.cc Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
command.cc Allow content-addressable paths to have references 2019-10-21 17:47:24 +02:00
command.hh Minor updates to inline comments 2019-10-31 05:56:37 -04:00
copy.cc nix copy: Rename --substitute to --substitute-on-destination 2019-07-10 11:28:37 +02:00
doctor.cc nix doctor: return nonzero exitcode if a check fails 2018-10-29 12:09:22 +00:00
dump-path.cc Fix #1762 2018-02-13 14:26:19 +00:00
edit.cc Don't catch exceptions by value 2019-09-22 21:56:56 +02:00
eval.cc nix eval: Stop progress bar before printing the result 2018-01-17 12:04:44 +01:00
hash.cc Mark content-addressable paths with references as experimental 2019-10-21 18:05:31 +02:00
installables.cc SourceExprCommand::getSourceExpr(): Allocate more space 2019-10-21 13:14:39 +02:00
legacy.cc Start of new Nix command-line interface 2016-02-09 21:28:29 +01:00
legacy.hh Fix Darwin build 2016-03-15 12:11:27 +01:00
local.mk Get BOOST_LDFLAGS from autoconf, fix Ubuntu 16.04 build. 2019-07-03 04:32:25 +02:00
log.cc nix log: use pager 2018-01-12 15:05:26 -06:00
ls.cc nix ls-nar: allow reading from FIFOs 2018-11-16 16:24:36 +01:00
main.cc include netinet/in.h in src/nix/main.cc 2019-11-01 14:09:42 +00:00
make-content-addressable.cc nix make-content-addressable: Add examples 2019-10-21 17:58:17 +02:00
optimise-store.cc nix optimise-store: Add 2017-08-16 20:56:03 +02:00
path-info.cc nix path-info: Remove trailing spaces 2018-09-01 00:04:57 +02:00
ping-store.cc Manual: Update chapter on remote builds 2018-02-21 16:24:26 +01:00
progress-bar.cc Fix progress bar when nix-prefetch-url is piped. 2019-11-03 21:46:59 +00:00
progress-bar.hh nix: Add --print-build-logs flag 2019-05-15 17:33:56 +02:00
repl.cc Fix C++ compatibility with older editline versions. 2019-07-03 04:32:25 +02:00
run.cc Disable CLONE_NEWUSER when it’s unavailable 2019-07-25 14:42:25 -04:00
search.cc nix search: Don't quietly ignore errors 2019-10-09 14:46:58 +02:00
show-config.cc Modularize config settings 2018-05-30 13:28:01 +02:00
show-derivation.cc Add "nix show-derivation" 2017-09-25 13:43:35 +02:00
sigs.cc nix: Respect -I, --arg, --argstr 2017-10-24 12:58:34 +02:00
upgrade-nix.cc nix upgrade-nix: Handle .nix-profile being a link to .../profiles/per-user/... 2018-08-30 21:18:56 +02:00
verify.cc Allow content-addressable paths to have references 2019-10-21 17:47:24 +02:00
why-depends.cc nix why-depends: render output into $PAGER 2018-07-03 12:49:12 +02:00