1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-12 05:26:02 +01:00
nix/tests
Maximilian Bosch df30b26066 path-info: print correct path when using nix path-info --store file://... --all --json
When querying all paths in a binary cache store, the path's representation
is `<hash>-x` (where `x` is the value of `MissingName`) because the .narinfo
filenames only contain the hash.

Before cc46ea1630 this worked correctly,
because the entire path info was read and the path from this
representation was printed, i.e. in the form `<hash>-<name>`. Since then
however, the direct result from `queryAllValidPaths()` was used as `path`.

Added a regression test to make sure the behavior remains correct.

(cherry picked from commit c80cd6bb06)
2024-04-10 17:37:34 +00:00
..
functional path-info: print correct path when using nix path-info --store file://... --all --json 2024-04-10 17:37:34 +00:00
installer updated store ping to store info in files 2023-10-18 00:14:11 +05:30
nixos Fix a typo in a test comment 2024-03-01 09:43:42 +01:00
unit Revert "Add nix::isASCII*, locale-independent" 2023-12-13 21:09:33 +01:00