From 1b68f3a0ddbb69173083a12d4e83a606ce6bdf49 Mon Sep 17 00:00:00 2001 From: Yureka Date: Wed, 30 Nov 2022 09:16:53 +0100 Subject: [PATCH] pkgsMusl.jfsutils: fix build (#203250) --- pkgs/tools/filesystems/jfsutils/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/filesystems/jfsutils/default.nix b/pkgs/tools/filesystems/jfsutils/default.nix index 9b7b520ce3aa..599326c8fbfb 100644 --- a/pkgs/tools/filesystems/jfsutils/default.nix +++ b/pkgs/tools/filesystems/jfsutils/default.nix @@ -20,6 +20,12 @@ stdenv.mkDerivation rec { url = "https://sources.debian.org/data/main/j/jfsutils/1.1.15-4/debian/patches/add_sysmacros.patch"; sha256 = "1qcwvxs4d0d24w5x98z59arqfx2n7f0d9xaqhjcg6w8n34vkhnyc"; }) + # fix for musl + (fetchpatch { + name = "musl-fix-includes.patch"; + url = "https://git.alpinelinux.org/aports/plain/main/jfsutils/musl-fix-includes.patch?id=567823dca7dc1f8ce919efbe99762d2d5c020124"; + sha256 = "sha256-FjdUOI+y+MdSWxTR+csH41uR0P+PWWTfIMPwQjBfQtQ="; + }) ]; nativeBuildInputs = [ autoreconfHook ];