From 056a389d3b8523d5234b570c43080ce45f7de7a4 Mon Sep 17 00:00:00 2001 From: John Ericson <John.Ericson@Obsidian.Systems> Date: Mon, 21 Aug 2017 11:50:29 -0400 Subject: [PATCH] ios cross cc-wrapper: Fail assertion to avoid breaking tarball job Previously, this wasn't being evaluated by CI. --- pkgs/os-specific/darwin/ios-cross/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/os-specific/darwin/ios-cross/default.nix b/pkgs/os-specific/darwin/ios-cross/default.nix index f56c8148317d..175e9738ef9e 100644 --- a/pkgs/os-specific/darwin/ios-cross/default.nix +++ b/pkgs/os-specific/darwin/ios-cross/default.nix @@ -18,6 +18,11 @@ * x86_64-apple-darwin14 | x86_64 | true */ +# Apple uses somewhat non-standard names for this. We could fall back on +# `targetPlatform.parsed.cpu.name`, but that would be a more standard one and +# likely to fail. Better just to require something manual. +assert targetPlatform ? arch; + let prefix = targetPlatform.config;