diff options
author | figsoda <figsoda@pm.me> | 2023-07-25 11:36:57 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-07-25 11:36:57 -0400 |
commit | 251d2cbfc25c41c9abd55929ace7b57a7e0f546c (patch) | |
tree | dae4b72ca12f8791e1df4537d6e93f4f82167f78 /pkgs/tools/networking/dsniff | |
parent | fca9a919a8bae82f973c1a80eca7a4479209b8cf (diff) |
pkgs/tools/networking: remove dead code
Diffstat (limited to 'pkgs/tools/networking/dsniff')
-rw-r--r-- | pkgs/tools/networking/dsniff/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/networking/dsniff/default.nix b/pkgs/tools/networking/dsniff/default.nix index 24e1ef29ef31f..ae663abb08dc5 100644 --- a/pkgs/tools/networking/dsniff/default.nix +++ b/pkgs/tools/networking/dsniff/default.nix @@ -13,14 +13,14 @@ let */ staticdb = symlinkJoin { inherit (db) name; - paths = with db.overrideAttrs(old: { dontDisableStatic = true; }); [ out dev ]; + paths = with db.overrideAttrs { dontDisableStatic = true; }; [ out dev ]; postBuild = '' rm $out/lib/*.so* ''; }; pcap = symlinkJoin { inherit (libpcap) name; - paths = [ (libpcap.overrideAttrs(old: { dontDisableStatic = true; })) ]; + paths = [ (libpcap.overrideAttrs { dontDisableStatic = true; }) ]; postBuild = '' cp -rs $out/include/pcap $out/include/net # prevent references to libpcap @@ -29,15 +29,15 @@ let }; net = symlinkJoin { inherit (libnet) name; - paths = [ (libnet.overrideAttrs(old: { dontDisableStatic = true; })) ]; + paths = [ (libnet.overrideAttrs { dontDisableStatic = true; }) ]; postBuild = '' # prevent dynamic linking, now that we have a static library rm $out/lib/*.so* ''; }; - nids = libnids.overrideAttrs(old: { + nids = libnids.overrideAttrs { dontDisableStatic = true; - }); + }; ssl = symlinkJoin { inherit (openssl) name; paths = with openssl.override { static = true; }; [ out dev ]; |