about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-01-20T00·12+0000
committerVincent Ambo <tazjin@google.com>2020-01-20T00·58+0000
commit8f684972695aeb64d1c09499bb14c5cd65bafd91 (patch)
treeada8feafac0696419b9213d1ed376562e29ba869 /tools
parent0447ef57ba3c19acd5795c12560eb3290c5a6b66 (diff)
fix(emacs-pkgs/nix-util): Ensure compatibility with non-native JSON r/428
Diffstat (limited to 'tools')
-rw-r--r--tools/emacs-pkgs/nix-util/nix-util.el2
1 files changed, 1 insertions, 1 deletions
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