mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
* 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 <nixpkgs> { }); then you can say $ nix-build -I nixpkgs=/home/eelco/src/stdenv-updates
This commit is contained in:
parent
1578b2261d
commit
c7101dac0b
5 changed files with 28 additions and 9 deletions
|
@ -213,8 +213,9 @@ private:
|
|||
|
||||
std::map<Path, Expr *> parseTrees;
|
||||
|
||||
Paths searchPath;
|
||||
Paths::iterator searchPathInsertionPoint;
|
||||
typedef list<std::pair<string, Path> > SearchPath;
|
||||
SearchPath searchPath;
|
||||
SearchPath::iterator searchPathInsertionPoint;
|
||||
|
||||
public:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue