mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01: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