about summary refs log tree commit diff
path: root/tools/emacs-pkgs/nix-util/nix-util.el
diff options
context:
space:
mode:
Diffstat (limited to 'tools/emacs-pkgs/nix-util/nix-util.el')
-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