1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 17:51:15 +02:00
nix/tests
Maximilian Bosch cb7beb05cd 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:39 +00:00
..
functional path-info: print correct path when using nix path-info --store file://... --all --json 2024-04-10 17:37:39 +00:00
installer updated store ping to store info in files 2023-10-18 00:14:11 +05:30
nixos Add test 2024-04-02 16:06:10 +00:00
unit use byte indexed locations for PosIdx 2024-03-06 23:48:42 +01:00