mirror of
https://github.com/NixOS/nix.git
synced 2025-12-12 03:51:04 +01:00
Make nix path-info follow the JSON guildelines
This commit is contained in:
parent
1ad13a1423
commit
5f73c6b416
9 changed files with 65 additions and 30 deletions
|
|
@ -15,7 +15,7 @@ nix-build fixed.nix -A bad --no-out-link && fail "should fail"
|
|||
# a side-effect.
|
||||
[[ -e $path ]]
|
||||
nix path-info --json --json-format 2 "$path" | jq -e \
|
||||
'.[].ca == {
|
||||
'.info.[].ca == {
|
||||
method: "flat",
|
||||
hash: {
|
||||
algorithm: "md5",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue