diff options
author | Maciej Krüger <mkg20001@gmail.com> | 2024-07-12 18:38:38 +0200 |
---|---|---|
committer | Maciej Krüger <mkg20001@gmail.com> | 2024-07-12 18:38:38 +0200 |
commit | 647e4c04ad7355e7c3f5381b7a1795b195f1f85f (patch) | |
tree | 2ef2678cb2ee2517ba89de13cea4870a8d792497 /pkgs/by-name/pw | |
parent | 8ba87fc136e5ae3c77ba810a745cebb21b6c1ccd (diff) |
pwru: 1.0.6 -> 1.0.7, fix build
Diffstat (limited to 'pkgs/by-name/pw')
-rw-r--r-- | pkgs/by-name/pw/pwru/package.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/by-name/pw/pwru/package.nix b/pkgs/by-name/pw/pwru/package.nix index 5f393ff9cee76..f4d601ca9654d 100644 --- a/pkgs/by-name/pw/pwru/package.nix +++ b/pkgs/by-name/pw/pwru/package.nix @@ -7,13 +7,13 @@ buildGoModule rec { pname = "pwru"; - version = "1.0.6"; + version = "1.0.7"; src = fetchFromGitHub { owner = "cilium"; repo = "pwru"; rev = "v${version}"; - hash = "sha256-8pXyzmzMCxOzwstzvzeZB2HBMeMzGMLZesTURZD3Rt8="; + hash = "sha256-BjiFuM06YDlPyB578p2hweBay+4z0bOn7fUoxSvrDY8="; }; vendorHash = null; @@ -27,6 +27,9 @@ buildGoModule rec { --replace "-static" "" ''; + # this breaks go generate as bpf does not support -fzero-call-used-regs=used-gpr + hardeningDisable = [ "zerocallusedregs" ]; + preBuild = '' TARGET_GOARCH="$GOARCH" GOOS= GOARCH= go generate ''; |