blog/content/post/display-progress-in-nix-env.md

1.5 KiB

title date lastmod draft keywords description tags categories author comment toc autoCollapseToc postMetaInFooter hiddenFromHomePage contentCopyright reward mathjax mathjaxEnableSingleDollar mathjaxEnableAutoNumber hideHeaderAndFooter flowchartDiagrams sequenceDiagrams
Display Progress in nix-env 2022-08-24T11:02:38+05:30 2022-08-24T11:02:38+05:30 false
nix progress
nix
linux
false false false true false false false false false false false
enable options
false
enable options
false

There is a wall of text but how much stuff has happened?

A lot of stuff scrolls past telling X packages have been built but gives no idea about the progress. Pass --log-format bar-wth-logs to nix-env.

nix-env --log-format bar-with-logs -iA nixpkgs.<package>

It will put a nice status in the bottom telling about how much packages have been downloaded and built and how much is left.

I tried putting the option in the config file but it did not work. I could not find the relevant documentation for it either.