mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 14:02:42 +01:00
Fix more -Wundef, in darwin context
This commit is contained in:
parent
bd2d5b7335
commit
615344fdf0
17 changed files with 56 additions and 56 deletions
|
|
@ -1300,7 +1300,7 @@ ref<Store> openStore(StoreReference && storeURI)
|
|||
return std::make_shared<LocalStore>(params);
|
||||
else if (pathExists(settings.nixDaemonSocketFile))
|
||||
return std::make_shared<UDSRemoteStore>(params);
|
||||
#if __linux__
|
||||
#ifdef __linux__
|
||||
else if (!pathExists(stateDir)
|
||||
&& params.empty()
|
||||
&& !isRootUser()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue