diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 87f7eeb18..7c9ce7104 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -2478,8 +2478,6 @@ static void addPath( const NixStringContext & context) { try { - StorePathSet refs; - if (path.accessor == state.rootFS && state.store->isInStore(path.path.abs())) { // FIXME: handle CA derivation outputs (where path needs to // be rewritten to the actual output).