3
0
Fork 0
forked from mirrors/nixpkgs

ios-rebuild: Unbreak build

Needs to link with a C compiler, not linker directly
This commit is contained in:
John Ericson 2017-09-25 19:30:40 -04:00 committed by Will Fancher
parent 4956767f53
commit ceb8f6e38f
2 changed files with 2 additions and 0 deletions

View file

@ -59,6 +59,7 @@ nodePackages // {
ios-deploy = nodePackages.ios-deploy.override (oldAttrs: {
preRebuild = ''
LD=$CC
tmp=$(mktemp -d)
ln -s /usr/bin/xcodebuild $tmp
export PATH="$PATH:$tmp"

View file

@ -59,6 +59,7 @@ nodePackages // {
ios-deploy = nodePackages.ios-deploy.override (oldAttrs: {
preRebuild = ''
LD=$CC
tmp=$(mktemp -d)
ln -s /usr/bin/xcodebuild $tmp
export PATH="$PATH:$tmp"