mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
nix-prefetch-git: change the default output to JSON
As discussed on the mailing list. The nix output was short-lived so it's probably okay to change it.
This commit is contained in:
parent
03d1e0fb8f
commit
90de261f33
|
@ -325,9 +325,9 @@ print_results() {
|
|||
fi
|
||||
if test -n "$hash"; then
|
||||
echo "{"
|
||||
echo " url = \"$url\";"
|
||||
echo " rev = \"$fullRev\";"
|
||||
echo " $hashType = \"$hash\";"
|
||||
echo " \"url\": \"$url\","
|
||||
echo " \"rev\": \"$fullRev\","
|
||||
echo " \"$hashType\": \"$hash\""
|
||||
echo "}"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue