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/primops/fetchMercurial.cc | |
parent | 7b5fc4a984a2db7c90e7fc884e2e0c076ad07df7 (diff) |
Make builtins.{path,filterSource} work with chroot stores
Diffstat (limited to 'src/libexpr/primops/fetchMercurial.cc')
-rw-r--r-- | src/libexpr/primops/fetchMercurial.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops/fetchMercurial.cc b/src/libexpr/primops/fetchMercurial.cc index b51b155f7..1cd481243 100644 --- a/src/libexpr/primops/fetchMercurial.cc +++ b/src/libexpr/primops/fetchMercurial.cc @@ -84,7 +84,7 @@ static void prim_fetchMercurial(EvalState & state, const Pos & pos, Value * * ar mkInt(*state.allocAttr(v, state.symbols.create("revCount")), *revCount); v.attrs->sort(); - state.allowPath(tree.actualPath); + state.allowPath(tree.storePath); } static RegisterPrimOp r_fetchMercurial("fetchMercurial", 1, prim_fetchMercurial); |