about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 278adfc73d..8d1c0610ab 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