mirror of
https://github.com/NixOS/nix
synced 2025-06-25 23:11:16 +02:00
Fix flake subdirectory handling
This commit is contained in:
parent
73769b28e3
commit
cfc38257cf
3 changed files with 14 additions and 8 deletions
|
@ -76,6 +76,7 @@ static void prim_fetchTree(EvalState & state, const Pos & pos, Value * * args, V
|
|||
if (evalSettings.pureEval && !input->isImmutable())
|
||||
throw Error("in pure evaluation mode, 'fetchTree' requires an immutable input");
|
||||
|
||||
// FIXME: use fetchOrSubstituteTree
|
||||
auto [tree, input2] = input->fetchTree(state.store);
|
||||
|
||||
if (state.allowedPaths)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue