From c7101dac0bd2631e50846194fc841ef5ef77461f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 6 Aug 2011 17:48:57 +0000 Subject: * Allow redirections in search path entries. E.g. if you have a directory /home/eelco/src/stdenv-updates that you want to use as the directory for import such as with (import { }); then you can say $ nix-build -I nixpkgs=/home/eelco/src/stdenv-updates --- src/libexpr/eval.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/libexpr/eval.hh') diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 1583665bad19..413234f2bf19 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -213,8 +213,9 @@ private: std::map parseTrees; - Paths searchPath; - Paths::iterator searchPathInsertionPoint; + typedef list > SearchPath; + SearchPath searchPath; + SearchPath::iterator searchPathInsertionPoint; public: -- cgit 1.4.1