about summary refs log tree commit diff
path: root/src/libexpr/nixexpr.hh
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-05-30T19·43-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-06-12T10·57+0200
commit718f20da6d79466f91c49849bcf91a688aaa871e (patch)
tree6c6294ea36b9b4573056e04f4bf8aacfa1de806c /src/libexpr/nixexpr.hh
parenta8fb575c98726f195d0cf5c7e6b7e51c75a0a9b3 (diff)
findFile: Realise the context of the path attributes
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 3df9dd47f0bb..b8d0929285fe 100644
--- a/src/libexpr/nixexpr.hh
+++ b/src/libexpr/nixexpr.hh
@@ -16,6 +16,7 @@ MakeError(ThrownError, AssertionError)
 MakeError(Abort, EvalError)
 MakeError(TypeError, EvalError)
 MakeError(ImportError, EvalError) // error building an imported derivation
+MakeError(FindError, EvalError) // error building a nix-path component
 MakeError(UndefinedVarError, Error)