diff --git a/pkgs/by-name/te/tetragon/package.nix b/pkgs/by-name/te/tetragon/package.nix index c20fbd42ac0e..26c687372865 100644 --- a/pkgs/by-name/te/tetragon/package.nix +++ b/pkgs/by-name/te/tetragon/package.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "tetragon"; - version = "0.11.0"; + version = "1.2.0"; src = fetchFromGitHub { owner = "cilium"; @@ -40,6 +40,11 @@ stdenv.mkDerivation (finalAttrs: { runHook postBuild ''; + # For BPF compilation + hardeningDisable = [ + "zerocallusedregs" + ]; + postPatch = '' substituteInPlace bpf/Makefile --replace '/bin/bash' '${lib.getExe bash}' substituteInPlace pkg/defaults/defaults.go --replace '/var/lib/tetragon/' $out/lib/tetragon/bpf/