lix/src/nix
Alois Wohlschlager 2afdf1ed66
path-info: wipe the progress bar before printing
The legitimate output of `nix path-info` may visually interfere with the
progress bar, by appending to stale progress output before the latter has been
erased. Conveniently, all expensive operations (evaluation or building) have
already been performed before, so we can simply wipe the progress bar at this
point to fix the issue.

Fixes: lix-project/lix#343
Change-Id: Id9a807a5c882295b3e6fbf841f9c15dc96f67f6e
2024-09-18 19:26:40 +02:00
..
realisation
add-file.md
add-path.md
add-to-store.cc refactor: make HashType and Base enum classes for type safety 2024-08-08 14:53:17 -07:00
app.cc Allow dynamic derivation deps in inputDrvs 2023-09-07 10:39:37 -04:00
build.cc tree-wide: unify progress bar inactive and paused states 2024-07-01 18:19:34 +02:00
build.md docs: guide to installables docs in installable commands' docs 2024-04-29 08:06:05 -06:00
bundle.cc de-inheritance CmdBundle for InstallableValueCommand 2024-06-20 17:00:06 +00:00
bundle.md docs: guide to installables docs in installable commands' docs 2024-04-29 08:06:05 -06:00
cat.cc tree-wide: unify progress bar inactive and paused states 2024-07-01 18:19:34 +02:00
config.cc chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
copy.cc Make command infra less stateful and more regular 2023-03-15 16:29:07 -04:00
copy.md Also use long options in src/nix/*.md 2023-05-17 08:10:30 +01:00
daemon.cc tree-wide: fix a pile of lints 2024-08-08 14:53:17 -07:00
daemon.md Port the flags of nix-daemon to nix daemon (#8788) 2023-08-28 13:43:34 +00:00
derivation-add.cc Create nix derivation add command 2023-04-07 08:34:58 -04:00
derivation-add.md docs: guide to installables docs in installable commands' docs 2024-04-29 08:06:05 -06:00
derivation-show.cc Rename files to reflect new nix derivation show name 2023-04-07 08:34:58 -04:00
derivation-show.md docs: guide to installables docs in installable commands' docs 2024-04-29 08:06:05 -06:00
derivation.cc nix show-derivation -> nix derivation show 2023-04-07 08:34:58 -04:00
develop.cc tree-wide: unify progress bar inactive and paused states 2024-07-01 18:19:34 +02:00
develop.md chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
diff-closures.cc diff-closures: remove gratuitous copy 2024-07-23 21:45:30 +02:00
diff-closures.md docs: guide to installables docs in installable commands' docs 2024-04-29 08:06:05 -06:00
doctor.cc tree-wide: shuffle headers around for about 30s compile time 2024-08-28 09:55:05 -07:00
dump-path.cc libstore: rewrite narFromPath as generator 2024-07-15 21:50:25 +00:00
edit.cc tree-wide: unify progress bar inactive and paused states 2024-07-01 18:19:34 +02:00
edit.md docs: guide to installables docs in installable commands' docs 2024-04-29 08:06:05 -06:00
eval.cc tree-wide: unify progress bar inactive and paused states 2024-07-01 18:19:34 +02:00
eval.md docs: guide to installables docs in installable commands' docs 2024-04-29 08:06:05 -06:00
flake-archive.md
flake-check.md chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
flake-clone.md
flake-init.md Update docs 2022-02-22 14:32:56 +01:00
flake-lock.md chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
flake-metadata.md
flake-new.md
flake-prefetch.md
flake-show.md Update docs 2022-02-22 14:32:56 +01:00
flake-update.md chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
flake.cc flake: fix compiler warning 2024-08-20 16:13:17 -07:00
flake.md doc: rewrite the multi-user documentation to actually talk about security 2024-06-12 15:34:23 -07:00
fmt.cc Merge pull request #9494 from sellout/nix-run-execv 2024-03-04 07:11:25 +01:00
fmt.md docs: guide to installables docs in installable commands' docs 2024-04-29 08:06:05 -06:00
get-env.sh Merge pull request #9032 from Ma27/structured-attrs-env-vars 2024-03-07 10:46:47 +01:00
hash.cc refactor: make HashType and Base enum classes for type safety 2024-08-08 14:53:17 -07:00
help-stores.md chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
help.md
key-convert-secret-to-public.md
key-generate-secret.md Fix missing ` in key manual 2022-06-08 11:46:50 +02:00
log.cc tree-wide: unify progress bar inactive and paused states 2024-07-01 18:19:34 +02:00
log.md chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
ls.cc Get rid of some unchecked calls to std::cout 2023-03-02 15:02:24 +01:00
main.cc Merge "Stop the logger in legacy commands again" into main 2024-09-06 17:07:16 +00:00
make-content-addressed.cc Make command infra less stateful and more regular 2023-03-15 16:29:07 -04:00
make-content-addressed.md clarify definition of "installable" 2023-03-05 01:46:17 +01:00
meson.build misc docs/meson tidying 2024-08-04 20:41:19 -07:00
nar-cat.md
nar-dump-path.md
nar-ls.md Also use long options in src/nix/*.md 2023-05-17 08:10:30 +01:00
nar.cc Make command infra less stateful and more regular 2023-03-15 16:29:07 -04:00
nar.md
nix.md chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
optimise-store.cc util.hh: split out signals stuff 2024-03-11 00:52:09 -07:00
optimise-store.md chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
path-from-hash-part.cc Add command 'nix store path-from-hash-part' 2022-10-18 16:51:12 +02:00
path-from-hash-part.md Add command 'nix store path-from-hash-part' 2022-10-18 16:51:12 +02:00
path-info.cc path-info: wipe the progress bar before printing 2024-09-18 19:26:40 +02:00
path-info.md docs: guide to installables docs in installable commands' docs 2024-04-29 08:06:05 -06:00
ping-store.cc Add Store::isTrustedClient() 2023-04-06 19:59:57 -04:00
ping-store.md chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
prefetch.cc fix: check if it is a Real terminal, not just if it is a terminal 2024-08-10 16:07:21 -07:00
print-dev-env.md docs: guide to installables docs in installable commands' docs 2024-04-29 08:06:05 -06:00
profile-diff-closures.md
profile-history.md
profile-install.md docs: guide to installables docs in installable commands' docs 2024-04-29 08:06:05 -06:00
profile-list.md nix3-profile: remove indices 2024-05-02 12:02:28 -06:00
profile-remove.md Merge changes Id1a67156,I03f4c7c1,I146736bb,I3b1453cb into main 2024-05-03 13:39:49 +00:00
profile-rollback.md
profile-upgrade.md Merge changes Id1a67156,I03f4c7c1,I146736bb,I3b1453cb into main 2024-05-03 13:39:49 +00:00
profile-wipe-history.md
profile.cc nix3-profile: make element names stable 2024-05-02 12:59:15 -06:00
profile.md Dedup some markdown -> C++ big literal stuff in build system 2023-05-15 10:38:11 -04:00
realisation.cc Move enabled experimental feature to libutil struct 2023-03-20 11:05:22 -04:00
registry-add.md Reject fully-qualified URLs in 'from' argument of nix registry add 2024-06-29 05:11:31 +00:00
registry-list.md
registry-pin.md
registry-remove.md
registry.cc Reject fully-qualified URLs in 'from' argument of nix registry add 2024-06-29 05:11:31 +00:00
registry.md doc: Fix typo 2022-06-28 22:43:37 -04:00
repl.cc chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
repl.md docs: guide to installables docs in installable commands' docs 2024-04-29 08:06:05 -06:00
run.cc tree-wide: unify progress bar inactive and paused states 2024-07-01 18:19:34 +02:00
run.hh Merge pull request #9494 from sellout/nix-run-execv 2024-03-04 07:11:25 +01:00
run.md chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
search.cc de-inheritance CmdSearch for InstallableValueCommand 2024-06-20 17:00:06 +00:00
search.md docs: guide to installables docs in installable commands' docs 2024-04-29 08:06:05 -06:00
shell.md docs: guide to installables docs in installable commands' docs 2024-04-29 08:06:05 -06:00
sigs.cc tree-wide: unify progress bar inactive and paused states 2024-07-01 18:19:34 +02:00
store-cat.md
store-copy-log.cc Fix misrendering of 'nix store --help' 2023-03-21 12:02:19 +01:00
store-copy-log.md link "store derivation" to glossary definition 2022-12-21 11:42:50 +01:00
store-delete.cc Make command infra less stateful and more regular 2023-03-15 16:29:07 -04:00
store-delete.md clarify definition of "installable" 2023-03-05 01:46:17 +01:00
store-dump-path.md clarify definition of "installable" 2023-03-05 01:46:17 +01:00
store-gc.cc Deduplicate the Store downcasting with a template 2022-03-11 13:32:33 +00:00
store-gc.md
store-ls.md Also use long options in src/nix/*.md 2023-05-17 08:10:30 +01:00
store-prefetch-file.md
store-repair.cc Make command infra less stateful and more regular 2023-03-15 16:29:07 -04:00
store-repair.md clarify definition of "installable" 2023-03-05 01:46:17 +01:00
store.cc Move store docs to 'nix help-stores' 2023-03-21 14:37:09 +01:00
upgrade-nix.cc nix3-upgrade-nix: always use the /new/ nix-env to perform the installation 2024-07-15 15:26:53 -06:00
upgrade-nix.md Fix the pages in the manual for Lix 2024-05-05 16:11:01 -07:00
verify.cc tree-wide: shuffle headers around for about 30s compile time 2024-08-28 09:55:05 -07:00
verify.md Also use long options in src/nix/*.md 2023-05-17 08:10:30 +01:00
why-depends.cc tree-wide: fix a pile of lints 2024-08-08 14:53:17 -07:00
why-depends.md chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00