maintainers/scripts/update.nix: fix error message

This commit is contained in:
Jan Tojnar
2018-03-13 09:04:12 +01:00
parent a2d2d53295
commit 9b94dd0999

View File

@@ -65,7 +65,7 @@ let
if package == null then
builtins.throw "Package with an attribute name `${name}` does not exists."
else if ! builtins.hasAttr "updateScript" package then
builtins.throw "Package with an attribute name `${name}` does have an `passthru.updateScript` defined."
builtins.throw "Package with an attribute name `${name}` does not have a `passthru.updateScript` attribute defined."
else
package;