mdadm: fix build with musl 1.2.5 (#313936)

authored by Yureka and committed by GitHub b8609288 0db9149e

+9
+9
pkgs/os-specific/linux/mdadm/default.nix
··· 17 17 url = "https://raw.githubusercontent.com/void-linux/void-packages/e58d2b17d3c40faffc0d426aab00184f28d9dafa/srcpkgs/mdadm/patches/musl.patch"; 18 18 hash = "sha256-TIcQs+8RM5Q6Z8MHkI50kaJd7f9WdS/EVI16F7b2+SA="; 19 19 }) 20 + # Fixes build on musl 1.2.5+ 21 + (fetchurl { 22 + url = "https://lore.kernel.org/linux-raid/20240220165158.3521874-1-raj.khem@gmail.com/raw"; 23 + hash = "sha256-JOZ8n7zi+nq236NPpB4e2gUy8I3l3DbcoLhpeL73f98="; 24 + }) 25 + (fetchurl { 26 + url = "https://github.com/md-raid-utilities/mdadm/commit/9dbd11e091f84eb0bf9d717283774816c4c4453d.patch"; 27 + hash = "sha256-8GdjP1ceVwejTOFXcHXG8wkIF9/D6hOUGD6btvuqs24="; 28 + }) 20 29 ]; 21 30 22 31 makeFlags = [