Use buildPlatform instead of targetPlatform for unxip instructions
This commit is contained in:
parent
0fdab8d560
commit
a128336cf6
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
{ requireFile, targetPlatform, lib }:
|
||||
{ buildPlatform, requireFile, targetPlatform, lib }:
|
||||
|
||||
let requireXcode = version: sha256:
|
||||
let
|
||||
xip = "Xcode_" + version + ".xip";
|
||||
# TODO(alexfmpe): Find out how to validate the .xip signature in Linux
|
||||
unxip = if targetPlatform.isDarwin
|
||||
unxip = if buildPlatform.isDarwin
|
||||
then ''
|
||||
open -W ${xip}
|
||||
rm -rf ${xip}
|
||||
|
|
Loading…
Reference in a new issue