mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
parent
170f834fa2
commit
83a035aafe
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ struct TarballInputScheme : CurlInputScheme
|
|||
input = immutableInput;
|
||||
}
|
||||
|
||||
if (result.lastModified && !input.attrs.contains("lastModified"))
|
||||
if (result.lastModified && !input.attrs.count("lastModified"))
|
||||
input.attrs.insert_or_assign("lastModified", uint64_t(result.lastModified));
|
||||
|
||||
return {result.tree.storePath, std::move(input)};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue