mirror of
https://github.com/NixOS/nix.git
synced 2025-11-29 21:50:58 +01:00
Checkpoint
This commit is contained in:
parent
2d572a250f
commit
c56e17b718
17 changed files with 428 additions and 79 deletions
|
|
@ -159,7 +159,7 @@ static void loadSourceExpr(EvalState & state, const Path & path, Value & v)
|
|||
throw SysError("getting information about '%1%'", path);
|
||||
|
||||
if (isNixExpr(path, st))
|
||||
state.evalFile(path, v);
|
||||
state.evalFile(state.rootPath(path), v);
|
||||
|
||||
/* The path is a directory. Put the Nix expressions in the
|
||||
directory in a set, with the file name of each expression as
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue