aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/nar-accessor.cc
diff options
context:
space:
mode:
authorsqualus <squalus@squalus.net>2022-09-22 12:47:43 -0700
committersqualus <squalus@squalus.net>2022-09-22 12:50:32 -0700
commit223f8dace091a0549f86b966b1d935c42bb01efd (patch)
tree391ed8b4a68a6239bcfd466ece9529054ecd1eca /src/libstore/nar-accessor.cc
parentf704c2720f136a6bb73a2e91d4a85e0e9a42ff6f (diff)
archive: check close errors when extracting nars
Diffstat (limited to 'src/libstore/nar-accessor.cc')
-rw-r--r--src/libstore/nar-accessor.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/nar-accessor.cc b/src/libstore/nar-accessor.cc
index 72d41cc94..398147fc3 100644
--- a/src/libstore/nar-accessor.cc
+++ b/src/libstore/nar-accessor.cc
@@ -75,6 +75,9 @@ struct NarAccessor : public FSAccessor
createMember(path, {FSAccessor::Type::tRegular, false, 0, 0});
}
+ void closeRegularFile() override
+ { }
+
void isExecutable() override
{
parents.top()->isExecutable = true;