pkgsMusl.iucode-tool: fix build

This commit is contained in:
Yureka
2023-02-19 00:12:36 +01:00
parent 04ee39ebbb
commit a86d28efec
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitLab, autoreconfHook }:
{ lib, stdenv, fetchFromGitLab, autoreconfHook, fetchpatch }:
stdenv.mkDerivation rec {
pname = "iucode-tool";
@@ -11,6 +11,15 @@ stdenv.mkDerivation rec {
sha256 = "04dlisw87dd3q3hhmkqc5dd58cp22fzx3rzah7pvcyij135yjc3a";
};
patches = [
# build fix for musl libc, pending upstream review
# https://gitlab.com/iucode-tool/iucode-tool/-/merge_requests/4
(fetchpatch {
url = "https://gitlab.com/iucode-tool/iucode-tool/-/commit/fda4aaa4727601dbe817fac001f234c19420351a.patch";
hash = "sha256-BxYrXALpZFyJtFrgU5jFmzd1dIMPmpNgvYArgkwGt/w=";
})
];
nativeBuildInputs = [ autoreconfHook ];
enableParallelBuilding = true;