guix-mirrors/nix
Efraim Flashner cc588d8eb6
guix gc: Adjust size suffix based on the amount of data.
* guix/ui.scm (number->size): New procedure.
* guix/scripts/gc.scm (guix-gc)[actions]: Display the amount of
collected-garbage using more specific units.
[ensure-free-space]: Display the size using an appropriate size unit.
* nix/libstore/gc.cc (deletePathRecursive, removeUnusedLinks): Same.
* nix/libstore/optimise-store.cc (showBytes): Move function ...
* nix/libstore/misc.cc: ... to here.  Expand to adjust the output based
on the amount of bytes received.

Change-Id: Idceb1a13f8e45f959d327f53d1a8accb29d2678b
2025-07-28 13:57:53 +03:00
..
boost
libstore guix gc: Adjust size suffix based on the amount of data. 2025-07-28 13:57:53 +03:00
libutil daemon: Use std::string or std::vector instead of variable-length array (VLA). 2025-07-16 23:50:38 +02:00
nix-daemon daemon: Consider the current user as trusted. 2025-07-16 23:50:51 +02:00
.gitignore
AUTHORS
COPYING
local.mk daemon: add seccomp filter for slirp4netns. 2025-06-24 10:07:58 -04:00