linuxPackages.opensnitch-ebpf: remove linux.dev references (#391352)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user