3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #217028 from yu-re-ka/musl-iucode-tool

pkgsMusl.iucode-tool: fix build
This commit is contained in:
Jonas Heinrich 2023-02-19 10:35:18 +01:00 committed by GitHub
commit 4b1ae062bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;