mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Fix C++17 build
(cherry picked from commit2cf2bb45fc
) (cherry picked from commit83a035aafe
)
This commit is contained in:
parent
8c9e4668b2
commit
0201a31342
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,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