diff --git a/tidepool/src/lib/systems.nix b/tidepool/src/lib/systems.nix index afad580..f89d39c 100644 --- a/tidepool/src/lib/systems.nix +++ b/tidepool/src/lib/systems.nix @@ -2787,16 +2787,16 @@ in ) lib.systems.validate.architecture // (builtins.removeAttrs settings [ "system" ]); - # assertions = builtins.foldl' ( - # result: - # { assertion, message }: - # if assertion resolved then - # result - # else builtins.throw message - # ) true (resolved.system.abi.assertions or [ ]); + assertions = builtins.foldl' ( + result: + { assertion, message }: + if assertion resolved then + result + else builtins.throw message + ) true (resolved.system.abi.assertions or [ ]); in assert resolved.useAndroidPrebuilt -> resolved.isAndroid; - # assert assertions; + assert assertions; # And finally, return the generated system info. lib.types.set "systemWithBuildInfo" resolved; };