Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nix Loading
base: ff9e8a0
Choose a base ref
...
head repository: NixOS/nix Loading
compare: e38af79
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Mar 3, 2023

  1. Print the store paths to be fetched sorted by StorePath name() and no…

    …t 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.
    sidkshatriya committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    e38af79 View commit details
    Browse the repository at this point in the history
Loading