Use buildPlatform instead of targetPlatform for unxip instructions

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