1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-13 22:12:43 +01:00

archive: check close errors when extracting nars

This commit is contained in:
squalus 2022-09-22 12:47:43 -07:00
parent f704c2720f
commit 223f8dace0
3 changed files with 11 additions and 0 deletions

View file

@ -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;