From 8f684972695aeb64d1c09499bb14c5cd65bafd91 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 20 Jan 2020 00:12:31 +0000 Subject: fix(emacs-pkgs/nix-util): Ensure compatibility with non-native JSON --- tools/emacs-pkgs/nix-util/nix-util.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/emacs-pkgs') diff --git a/tools/emacs-pkgs/nix-util/nix-util.el b/tools/emacs-pkgs/nix-util/nix-util.el index 278adfc73d74..8d1c0610ab23 100644 --- a/tools/emacs-pkgs/nix-util/nix-util.el +++ b/tools/emacs-pkgs/nix-util/nix-util.el @@ -40,7 +40,7 @@ ("finished\n" (let* ((json-string (with-current-buffer outbuf (buffer-string))) - (result (json-parse-string json-string))) + (result (json-read-from-string json-string))) (with-current-buffer buffer (goto-char point) (map-let (("rev" rev) ("sha256" sha256)) result -- cgit 1.4.1