go-ios: fix build on darwin (#444589)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
@@ -27,7 +28,7 @@ buildGoModule rec {
|
||||
"restapi"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
substituteInPlace ncm/linux_commands.go \
|
||||
--replace-fail "ip " "${lib.getExe' iproute2 "ip"} "
|
||||
|
||||
|
||||
Reference in New Issue
Block a user