diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-10-07 14:07:51 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-10-07 14:22:39 +0200 |
commit | d39692e6b3275c6f54c066554d2915e4b857bc3e (patch) | |
tree | 2b30790e1532e330ca5037b621fe30df8fe0de90 /src/libexpr/flake/flake.cc | |
parent | 7b5fc4a984a2db7c90e7fc884e2e0c076ad07df7 (diff) |
Make builtins.{path,filterSource} work with chroot stores
Diffstat (limited to 'src/libexpr/flake/flake.cc')
-rw-r--r-- | src/libexpr/flake/flake.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc index abb0fb0be..43bfc3644 100644 --- a/src/libexpr/flake/flake.cc +++ b/src/libexpr/flake/flake.cc @@ -64,7 +64,7 @@ static std::tuple<fetchers::Tree, FlakeRef, FlakeRef> fetchOrSubstituteTree( debug("got tree '%s' from '%s'", state.store->printStorePath(tree.storePath), lockedRef); - state.allowPath(tree.actualPath); + state.allowPath(tree.storePath); assert(!originalRef.input.getNarHash() || tree.storePath == originalRef.input.computeStorePath(*state.store)); |