mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
Attempt to fix macOS build
This commit is contained in:
parent
47989a2124
commit
060c34b664
2 changed files with 7 additions and 5 deletions
|
@ -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()
|
||||
|
|
|
@ -1399,4 +1399,10 @@ std::list<ref<Store>> getDefaultSubstituters()
|
|||
return stores;
|
||||
}
|
||||
|
||||
std::vector<StoreFactory> & Implementations::registered()
|
||||
{
|
||||
static std::vector<StoreFactory> registered;
|
||||
return registered;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue