1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-03 15:40:59 +01:00
nix/src
John Ericson cc46ea1630 Make nix path-info --json return an object not array
Before it returned a list of JSON objects with store object information,
including the path in each object. Now, it maps the paths to JSON
objects with the metadata sans path.

This matches how `nix derivation show` works.

Quite hillariously, none of our existing functional tests caught this
change to `path-info --json` though they did use it. So just new
functional tests need to be added.
2023-11-06 11:06:31 -05:00
..
build-remote Allow dynamic derivation deps in inputDrvs 2023-09-07 10:39:37 -04:00
libcmd Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
libexpr Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
libfetchers Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
libmain Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
libstore Make nix path-info --json return an object not array 2023-11-06 11:06:31 -05:00
libutil Shuffle ValidPathInfo JSON rendering 2023-11-06 11:06:31 -05:00
nix Make nix path-info --json return an object not array 2023-11-06 11:06:31 -05:00
nix-build Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-channel Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-collect-garbage Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-copy-closure Remove stray executable permissions on source files 2023-11-02 09:24:21 +01:00
nix-env Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-instantiate Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-store Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
resolve-system-dependencies Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00