aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops/fetchTree.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-03-10 19:21:47 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-03-10 19:21:47 +0100
commitcfc38257cfcdabd34151d723906b38873e7ef6d0 (patch)
tree2fc91beee53e6818a0b357e59a789dc3c69dd831 /src/libexpr/primops/fetchTree.cc
parent73769b28e376cf1fb3e7248bafaa17c35527925d (diff)
Fix flake subdirectory handling
Diffstat (limited to 'src/libexpr/primops/fetchTree.cc')
-rw-r--r--src/libexpr/primops/fetchTree.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/primops/fetchTree.cc b/src/libexpr/primops/fetchTree.cc
index 66994c823..47667a1b8 100644
--- a/src/libexpr/primops/fetchTree.cc
+++ b/src/libexpr/primops/fetchTree.cc
@@ -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)