diff options
author | Sidharth Kshatriya <sid.kshatriya@gmail.com> | 2023-02-23 11:33:30 +0530 |
---|---|---|
committer | Sidharth Kshatriya <sid.kshatriya@gmail.com> | 2023-03-03 21:46:35 +0530 |
commit | 427555861b871aba02753bdb88a45b3b710a213b (patch) | |
tree | d7188b3262a53da3116ce684efd0229d5f1a1ace /src/libstore/globals.hh | |
parent | 4a921ba43b8ea9a37763cd4bd4bc491928cc55c2 (diff) |
Print the store paths to be fetched sorted by StorePath name() and not baseName
Presently when nix says something like:
```
these 486 paths will be fetched (511.54 MiB download, 6458.64 MiB unpacked):
...path1
...path2
...path3
...
...
...path486
```
It sorts path1, path2, path3, ..., path486 in lexicographic order of the
store path.
After this commit, nix will show path1, path2, path3, ..., path486 sorted by
StorePath name() (basically everything after the hash) rather than the store path.
This makes it easier to review what exactly is being downloaded at a glance,
especially when many paths need to be fetched.
Diffstat (limited to 'src/libstore/globals.hh')
0 files changed, 0 insertions, 0 deletions