tetragon: 0.1.1 -> 1.2.0 (#356642)

This commit is contained in:
Peder Bergebakken Sundt 2024-11-23 22:57:03 +01:00 committed by GitHub
commit bd28c20f67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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/