From 5c78338d71240e20fe1532964198a25214e42f4e Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 22 Dec 2024 23:24:11 +0000 Subject: [PATCH] make mtdutils use no-systemd util-linux --- overlay.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overlay.nix b/overlay.nix index 0f84ca5..bf302cf 100644 --- a/overlay.nix +++ b/overlay.nix @@ -218,11 +218,11 @@ extraPkgs // { ] ++ final.lib.optionals (o ? patches) o.patches; }); - mtdutils = prev.mtdutils.overrideAttrs(o: { + mtdutils = (prev.mtdutils.overrideAttrs(o: { patches = (if o ? patches then o.patches else []) ++ [ ./pkgs/mtdutils/0001-mkfs.jffs2-add-graft-option.patch ]; - }); + })).override { util-linux = final.util-linux-small ; }; nftables = prev.nftables.overrideAttrs(o: { configureFlags = [