···1-{ requireFile, targetPlatform, lib }:
23let requireXcode = version: sha256:
4 let
5 xip = "Xcode_" + version + ".xip";
6 # TODO(alexfmpe): Find out how to validate the .xip signature in Linux
7- unxip = if targetPlatform.isDarwin
8 then ''
9 open -W ${xip}
10 rm -rf ${xip}
···1+{ buildPlatform, requireFile, targetPlatform, lib }:
23let requireXcode = version: sha256:
4 let
5 xip = "Xcode_" + version + ".xip";
6 # TODO(alexfmpe): Find out how to validate the .xip signature in Linux
7+ unxip = if buildPlatform.isDarwin
8 then ''
9 open -W ${xip}
10 rm -rf ${xip}