mdadm: fix build on musl (#303565)

authored by Yureka and committed by GitHub ee64a5f3 13cdde11

+5
+5
pkgs/os-specific/linux/mdadm/default.nix
··· 12 patches = [ 13 ./no-self-references.patch 14 ./fix-hardcoded-mapdir.patch 15 ]; 16 17 makeFlags = [
··· 12 patches = [ 13 ./no-self-references.patch 14 ./fix-hardcoded-mapdir.patch 15 + # Fixes build on musl 16 + (fetchurl { 17 + url = "https://raw.githubusercontent.com/void-linux/void-packages/e58d2b17d3c40faffc0d426aab00184f28d9dafa/srcpkgs/mdadm/patches/musl.patch"; 18 + hash = "sha256-TIcQs+8RM5Q6Z8MHkI50kaJd7f9WdS/EVI16F7b2+SA="; 19 + }) 20 ]; 21 22 makeFlags = [