diff options
author | Shea Levy <shea@shealevy.com> | 2014-10-17 22:15:09 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-10-17 22:15:09 -0400 |
commit | d16e3c7f091b0ecc4975368575c71d69ce7a9bc7 (patch) | |
tree | 6479b3ea1c8da51e9b26b1a7b05d1291b589ec56 /src/libexpr/eval.hh | |
parent | bca6d3563653c384fab2da105a4c27dfe508c8cd (diff) |
Export realiseContext in libnixexpr
Useful for importNative plugins
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 38d737725..daf53846f 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -336,5 +336,13 @@ string showType(const Value & v); /* If `path' refers to a directory, then append "/default.nix". */ Path resolveExprPath(Path path); +struct InvalidPathError : EvalError +{ + Path path; + InvalidPathError(const Path & path); +}; + +/* Realise all paths in `context' */ +void realiseContext(const PathSet & context); } |