Skip to content

Commit

Permalink
mdadm: fix build on musl (#303565)
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-re-ka authored Apr 13, 2024
1 parent 13cdde1 commit ee64a5f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/os-specific/linux/mdadm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit ee64a5f

Please sign in to comment.