From eaa8c089a80600fda88352f8bee31db2743adde3 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 31 Aug 2024 20:28:23 +0200 Subject: [PATCH] feat(mtd-utils): save more space Signed-off-by: Raito Bezarius --- overlay.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/overlay.nix b/overlay.nix index 374c79a..2b46089 100644 --- a/overlay.nix +++ b/overlay.nix @@ -204,6 +204,11 @@ extraPkgs // { patches = (if o ? patches then o.patches else []) ++ [ ./pkgs/mtdutils/0001-mkfs.jffs2-add-graft-option.patch ]; + + postInstall = '' + # Testing programs which we don't need. We save a lot of space! + rm -rf $out/libexec + ''; }); nftables = prev.nftables.overrideAttrs(o: {