diff options
author | Yureka <yuka@yuka.dev> | 2024-04-13 15:06:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-13 15:06:48 +0200 |
commit | ee64a5f3ea5ea4c4ef7820a9bda41c16cd1c9ae4 (patch) | |
tree | 7dbcd04b67fee5a1ab5e15c9f006bca6519e3ff3 /pkgs/os-specific | |
parent | 13cdde11e4fb42005e16bc11d29ebc148fba04cf (diff) |
mdadm: fix build on musl (#303565)
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/mdadm/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/mdadm/default.nix b/pkgs/os-specific/linux/mdadm/default.nix index e9e90b3c388b5..65556987508e5 100644 --- a/pkgs/os-specific/linux/mdadm/default.nix +++ b/pkgs/os-specific/linux/mdadm/default.nix @@ -12,6 +12,11 @@ stdenv.mkDerivation rec { patches = [ ./no-self-references.patch ./fix-hardcoded-mapdir.patch + # Fixes build on musl + (fetchurl { + url = "https://raw.githubusercontent.com/void-linux/void-packages/e58d2b17d3c40faffc0d426aab00184f28d9dafa/srcpkgs/mdadm/patches/musl.patch"; + hash = "sha256-TIcQs+8RM5Q6Z8MHkI50kaJd7f9WdS/EVI16F7b2+SA="; + }) ]; makeFlags = [ |