lol

go-ios: fix build on darwin (#444589)

authored by

Weijia Wang and committed by
GitHub
08304afd d6ade56e

+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