linuxPackages.opensnitch-ebpf: add --strip-debug flag to llvm-strip

Fixes `opensnitch` being unable to load the eBPF module.
This commit is contained in:
Gliczy
2025-06-18 04:30:42 +02:00
parent 111f62b96a
commit 050c488aee
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
postFixup = ''
# reduces closure size significantly (fixes https://github.com/NixOS/nixpkgs/issues/391351)
for file in $out/etc/opensnitchd/*.o; do
llvm-strip $file
llvm-strip --strip-debug $file
done
'';