mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
Fix macOS build
This commit is contained in:
parent
7ba933e989
commit
b9f60faab5
1 changed files with 1 additions and 1 deletions
|
@ -1279,7 +1279,7 @@ ref<GitRepo> getTarballCache()
|
||||||
|
|
||||||
GitRepo::WorkdirInfo GitRepo::getCachedWorkdirInfo(const std::filesystem::path & path)
|
GitRepo::WorkdirInfo GitRepo::getCachedWorkdirInfo(const std::filesystem::path & path)
|
||||||
{
|
{
|
||||||
static Sync<std::unordered_map<std::filesystem::path, WorkdirInfo>> _cache;
|
static Sync<std::map<std::filesystem::path, WorkdirInfo>> _cache;
|
||||||
{
|
{
|
||||||
auto cache(_cache.lock());
|
auto cache(_cache.lock());
|
||||||
auto i = cache->find(path);
|
auto i = cache->find(path);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue