Loading pkgs/tools/networking/goreplay/default.nix +9 −1 Original line number Diff line number Diff line { lib, buildGoModule, fetchFromGitHub, libpcap }: { lib, buildGoModule, fetchFromGitHub, fetchpatch, libpcap }: buildGoModule rec { pname = "goreplay"; Loading @@ -11,6 +11,14 @@ buildGoModule rec { sha256 = "sha256-FiY9e5FgpPu+K8eoO8TsU3xSaSoPPDxYEu0oi/S8Q1w="; }; patches = [ # Fix build on arm64-linux, see https://github.com/buger/goreplay/pull/1140 (fetchpatch { url = "https://github.com/buger/goreplay/commit/a01afa1e322ef06f36995abc3fda3297bdaf0140.patch"; sha256 = "sha256-w3aVe/Fucwd2OuK5Fu2jJTbmMci8ilWaIjYjsWuLRlo="; }) ]; vendorSha256 = "sha256-jDMAtcq3ZowFdky5BdTkVNxq4ltkhklr76nXYJgGALg="; ldflags = [ "-s" "-w" ]; Loading Loading
pkgs/tools/networking/goreplay/default.nix +9 −1 Original line number Diff line number Diff line { lib, buildGoModule, fetchFromGitHub, libpcap }: { lib, buildGoModule, fetchFromGitHub, fetchpatch, libpcap }: buildGoModule rec { pname = "goreplay"; Loading @@ -11,6 +11,14 @@ buildGoModule rec { sha256 = "sha256-FiY9e5FgpPu+K8eoO8TsU3xSaSoPPDxYEu0oi/S8Q1w="; }; patches = [ # Fix build on arm64-linux, see https://github.com/buger/goreplay/pull/1140 (fetchpatch { url = "https://github.com/buger/goreplay/commit/a01afa1e322ef06f36995abc3fda3297bdaf0140.patch"; sha256 = "sha256-w3aVe/Fucwd2OuK5Fu2jJTbmMci8ilWaIjYjsWuLRlo="; }) ]; vendorSha256 = "sha256-jDMAtcq3ZowFdky5BdTkVNxq4ltkhklr76nXYJgGALg="; ldflags = [ "-s" "-w" ]; Loading