linuxPackages.opensnitch-ebpf: add --strip-debug flag to llvm-strip
Fixes `opensnitch` being unable to load the eBPF module.
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user