linuxPackages.opensnitch-ebpf: remove linux.dev references (#391352)

This commit is contained in:
K900
2025-06-08 14:02:05 +03:00
committed by GitHub
@@ -43,12 +43,21 @@ stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
for file in opensnitch*.o; do
install -Dm644 "$file" "$out/etc/opensnitchd/$file"
done
runHook postInstall
'';
postFixup = ''
# reduces closure size significantly (fixes https://github.com/NixOS/nixpkgs/issues/391351)
for file in $out/etc/opensnitchd/*.o; do
llvm-strip $file
done
'';
meta = with lib; {
description = "eBPF process monitor module for OpenSnitch";
homepage = "https://github.com/evilsocket/opensnitch";