Skip to content

[Backport 2.32-maintenance] diff-closures: print sizes with dynamic unit#14382

Merged
internal-nix-ci[bot] merged 3 commits into2.32-maintenancefrom
backport-14364-to-2.32-maintenance
Oct 27, 2025
Merged

[Backport 2.32-maintenance] diff-closures: print sizes with dynamic unit#14382
internal-nix-ci[bot] merged 3 commits into2.32-maintenancefrom
backport-14364-to-2.32-maintenance

Conversation

@internal-nix-ci
Copy link

Automatic backport to 2.32-maintenance, triggered by a label in #14364.

MarcelCoding and others added 3 commits October 27, 2025 19:43
The `showBytes()` function was redundant with `renderSize()` as the
latter automatically selects the appropriate unit (KiB, MiB, GiB, etc.)
based on the value, whereas `showBytes()` always formatted as MiB
regardless of size.

Co-authored-by: Bernardo Meurer Costa <beme@anthropic.com>
(cherry picked from commit f234633)
@internal-nix-ci internal-nix-ci bot enabled auto-merge October 27, 2025 19:43
@github-actions github-actions bot added new-cli Relating to the "nix" command store Issues and pull requests concerning the Nix store fetching Networking with the outside (non-Nix) world, input locking labels Oct 27, 2025
@internal-nix-ci internal-nix-ci bot merged commit 5c9481d into 2.32-maintenance Oct 27, 2025
19 checks passed
@internal-nix-ci internal-nix-ci bot deleted the backport-14364-to-2.32-maintenance branch October 27, 2025 20:52
edolstra added a commit that referenced this pull request Nov 6, 2025
…aintenance"

This reverts commit 5c9481d,
reversing changes made to
291e8ab. This is a behaviour change
that should be avoided on maintenance branches.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fetching Networking with the outside (non-Nix) world, input locking new-cli Relating to the "nix" command store Issues and pull requests concerning the Nix store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant