diff options
Diffstat (limited to '')
-rw-r--r-- | src/libexpr/primops.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 5be61c647496..4398cc951da2 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -779,9 +779,6 @@ static void prim_readFile(EvalState & state, const Pos & pos, Value * * args, Va string s = readFile(state.checkSourcePath(path)); if (s.find((char) 0) != string::npos) throw Error(format("the contents of the file ‘%1%’ cannot be represented as a Nix string") % path); - context = state.store->isInStore(path) ? - state.store->queryPathInfo(state.store->toStorePath(path))->references : - PathSet{}; mkString(v, s.c_str(), context); } |