diff options
Diffstat (limited to 'src/nix-instantiate')
-rw-r--r-- | src/nix-instantiate/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-instantiate/main.cc b/src/nix-instantiate/main.cc index cc3444837cd5..5ef6bd7d1b8b 100644 --- a/src/nix-instantiate/main.cc +++ b/src/nix-instantiate/main.cc @@ -47,7 +47,7 @@ static void printNixExpr(EvalState & state, Expr e) return; } - throw badTerm("top level does not evaluate to one or more Nix expressions", e); + throw Error("expression does not evaluate to one or more derivations"); } |