From 90de261f3313fab8b82d33df149738be700f2426 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Mon, 29 Feb 2016 22:47:16 +0000 Subject: 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. --- pkgs/build-support/fetchgit/nix-prefetch-git | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs') diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git index 22a241d5e0e8..2c9d61504ed2 100755 --- a/pkgs/build-support/fetchgit/nix-prefetch-git +++ b/pkgs/build-support/fetchgit/nix-prefetch-git @@ -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 } -- cgit 1.4.1