summary refs log tree commit diff
path: root/src/libexpr/nixexpr.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-06-01 11:19:32 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-06-01 11:19:32 +0000
commit89865da76d87292e5bc61f324b1ac892d40236e7 (patch)
tree44ca094d56bbeff0c03626420a0c455f98f083a0 /src/libexpr/nixexpr.hh
parent8bcdd36f10c5adfd312493c822c95c6fa5fbd110 (diff)
downloadguix-89865da76d87292e5bc61f324b1ac892d40236e7.tar.gz
* Turn build errors during evaluation into EvalErrors.
Diffstat (limited to 'src/libexpr/nixexpr.hh')
-rw-r--r--src/libexpr/nixexpr.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/nixexpr.hh b/src/libexpr/nixexpr.hh
index 1c72441b27..b1043a3268 100644
--- a/src/libexpr/nixexpr.hh
+++ b/src/libexpr/nixexpr.hh
@@ -15,6 +15,7 @@ MakeError(AssertionError, EvalError)
 MakeError(ThrownError, AssertionError)
 MakeError(Abort, EvalError)
 MakeError(TypeError, EvalError)
+MakeError(ImportError, EvalError) // error building an imported derivation
 
 
 /* Position objects. */