3
0
Fork 0
forked from mirrors/nixpkgs

network_cmds: fix on darwin

This commit is contained in:
Matthew Bauer 2018-03-08 19:00:09 -06:00
parent 54e2c28b09
commit c7abef4c5d

View file

@ -7,11 +7,13 @@ appleDerivation rec {
# "spray" requires some files that aren't compiling correctly in xcbuild. # "spray" requires some files that aren't compiling correctly in xcbuild.
# "rtadvd" seems to fail with some missing constants. # "rtadvd" seems to fail with some missing constants.
# We disable spray and rtadvd here for now. # "traceroute6" and "ping6" require ipsec which doesn't build correctly
patchPhase = '' patchPhase = ''
substituteInPlace network_cmds.xcodeproj/project.pbxproj \ substituteInPlace network_cmds.xcodeproj/project.pbxproj \
--replace "7294F0EA0EE8BAC80052EC88 /* PBXTargetDependency */," "" \ --replace "7294F0EA0EE8BAC80052EC88 /* PBXTargetDependency */," "" \
--replace "7216D34D0EE89FEC00AE70E4 /* PBXTargetDependency */," "" --replace "7216D34D0EE89FEC00AE70E4 /* PBXTargetDependency */," "" \
--replace "72CD1D9C0EE8C47C005F825D /* PBXTargetDependency */," "" \
--replace "7216D2C20EE89ADF00AE70E4 /* PBXTargetDependency */," ""
''; '';
# temporary install phase until xcodebuild has "install" support # temporary install phase until xcodebuild has "install" support