mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
fix armv7/i686 build
This commit is contained in:
parent
e27d804929
commit
b3bbbd2e71
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ const std::string gitInitialBranch = "__nix_dummy_branch";
|
||||||
|
|
||||||
bool isCacheFileWithinTtl(time_t now, const struct stat & st)
|
bool isCacheFileWithinTtl(time_t now, const struct stat & st)
|
||||||
{
|
{
|
||||||
return st.st_mtime + settings.tarballTtl > now;
|
return st.st_mtime + static_cast<time_t>(settings.tarballTtl) > now;
|
||||||
}
|
}
|
||||||
|
|
||||||
Path getCachePath(std::string_view key, bool shallow)
|
Path getCachePath(std::string_view key, bool shallow)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue