1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

Attempt to fix macOS build

This commit is contained in:
Eelco Dolstra 2025-05-06 08:50:00 +02:00
parent 47989a2124
commit 060c34b664
2 changed files with 7 additions and 5 deletions

View file

@ -902,11 +902,7 @@ struct StoreFactory
struct Implementations
{
static std::vector<StoreFactory> & registered()
{
static std::vector<StoreFactory> registered;
return registered;
}
static std::vector<StoreFactory> & registered();
template<typename T, typename TConfig>
static void add()

View file

@ -1399,4 +1399,10 @@ std::list<ref<Store>> getDefaultSubstituters()
return stores;
}
std::vector<StoreFactory> & Implementations::registered()
{
static std::vector<StoreFactory> registered;
return registered;
}
}