From cb43857ecf45feb0351023946f559e8e3343d12a Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Tue, 12 Aug 2025 20:08:24 +0100 Subject: [PATCH] update mtdutils to fix musl compilation problems --- overlay.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/overlay.nix b/overlay.nix index 0b80afd..1d78f0d 100644 --- a/overlay.nix +++ b/overlay.nix @@ -258,6 +258,13 @@ extraPkgs mtdutils = (prev.mtdutils.overrideAttrs (o: { + + src = final.fetchgit { + url = "git://git.infradead.org/mtd-utils.git"; + rev = "77981a2888c711268b0e7f32af6af159c2288e23"; + hash = "sha256-pHunlPOuvCRyyk9qAiR3Kn3cqS/nZHIxsv6m4nsAcbk="; + }; + patches = (if o ? patches then o.patches else [ ]) ++ [ ./pkgs/mtdutils/0001-mkfs.jffs2-add-graft-option.patch ];