fix(emacs-pkgs/nix-util): Ensure compatibility with non-native JSON

This commit is contained in:
Vincent Ambo 2020-01-20 00:12:31 +00:00
parent 0447ef57ba
commit 8f68497269

View file

@ -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