1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-18 19:07:19 +03:00

Fix error message in sources.nix

This commit is contained in:
Nicolas Mattia 2019-11-30 12:15:09 +01:00
parent 507d759e9c
commit 3ecde0148f

View File

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