From 3ecde0148fa3ba47dfd3784379d3f110d8a55a05 Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Sat, 30 Nov 2019 12:15:09 +0100 Subject: [PATCH] Fix error message in sources.nix --- nix/sources.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/sources.nix b/nix/sources.nix index bb49bdd..4da3d63 100644 --- a/nix/sources.nix +++ b/nix/sources.nix @@ -83,7 +83,7 @@ let else if spec.type == "builtin-tarball" then fetch_builtin-tarball spec else if spec.type == "builtin-url" then fetch_builtin-url spec else - abort "ERROR: niv spec ${name} has unknown type ${builtins.fromJSON spec.type}"; + abort "ERROR: niv spec ${name} has unknown type ${builtins.toJSON spec.type}"; # Ports of functions for older nix versions