From 1598d59ca7a16c0e93a989d2f4ac73637e58513b Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Mon, 9 Dec 2024 00:11:48 +0100 Subject: [PATCH] feat: remove elfutils from iproute2 Shaves a lot of the compile time. Signed-off-by: Raito Bezarius --- overlay.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/overlay.nix b/overlay.nix index 1aa7bf1..59c6b7e 100644 --- a/overlay.nix +++ b/overlay.nix @@ -201,7 +201,8 @@ extraPkgs // { graphviz = null; }; - iproute2 = prev.iproute2.overrideAttrs (old: { + iproute2 = + let i = prev.iproute2.overrideAttrs (old: { postInstall = '' ${(old.postInstall or "")} non_necessary_binaries=("tc" "rdma" "dcb" "tipc" "vdpa") @@ -211,6 +212,8 @@ extraPkgs // { done ''; }); + # Don't bring ebpf stuff to the table. + in i.override { elfutils = null; }; wpa_supplicant = prev.wpa_supplicant.override { dbusSupport = false;