diff options
Diffstat (limited to 'lib/systems/default.nix')
-rw-r--r-- | lib/systems/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/systems/default.nix b/lib/systems/default.nix index 9b930824609..ee4c29660a5 100644 --- a/lib/systems/default.nix +++ b/lib/systems/default.nix @@ -45,8 +45,17 @@ rec { }; # Misc boolean options useAndroidPrebuilt = false; + useiOSPrebuilt = false; + isiPhoneSimulator = false; } // mapAttrs (n: v: v final.parsed) inspect.predicates // args; in assert final.useAndroidPrebuilt -> final.isAndroid; + assert lib.foldl + (pass: { assertion, message }: + if assertion final + then pass + else throw message) + true + (final.parsed.abi.assertions or []); final; } |