go-ios: fix build on darwin

Since e03feee6e00e6867b243a1138565a4d841e1c2cf, the package applies
patches to replace paths for Linux utilities. However, these are not
available for Darwin.

+2 -1
+2 -1
pkgs/by-name/go/go-ios/package.nix
··· 1 1 { 2 2 lib, 3 + stdenv, 3 4 buildGoModule, 4 5 fetchFromGitHub, 5 6 nix-update-script, ··· 27 28 "restapi" 28 29 ]; 29 30 30 - postPatch = '' 31 + postPatch = lib.optionalString stdenv.hostPlatform.isLinux '' 31 32 substituteInPlace ncm/linux_commands.go \ 32 33 --replace-fail "ip " "${lib.getExe' iproute2 "ip"} " 33 34