cb7beb05cd10fadac71ac1b301c4eabeafded551
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. Beforecc46ea1630this 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 commitc80cd6bb06)
Nix
Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible. Please refer to the Nix manual for more details.
Installation and first steps
Visit nix.dev for installation instructions and beginner tutorials.
Full reference documentation can be found in the Nix manual.
Building And Developing
See our Hacking guide in our manual for instruction on how to set up a development environment and build Nix from source.
Contributing
Check the contributing guide if you want to get involved with developing Nix.
Additional Resources
License
Nix is released under the LGPL v2.1.
Description
Languages
C++
78.1%
Shell
9.7%
Nix
7.5%
Meson
1.8%
C
1.3%
Other
1.6%