tini: fix build with musl libc 1.2.5

Include libgen.h for POSIX basename(), which musl 1.2.5 removed from
string.h.
This commit is contained in:
edef
2026-01-19 17:40:30 +00:00
parent 84786db9e0
commit 2e228f79c4
+4
View File
@@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
url = "https://github.com/krallin/tini/commit/071c715e376e9ee0ac1a196fe8c38bcb61ad385c.patch";
hash = "sha256-idnYcVuhCXQuhFSqcrNjbCLhR4HNlv8QonrtBqEbo3A=";
})
(fetchpatch {
url = "https://github.com/krallin/tini/commit/924c4bd6028457188942ecbfdc75e6a343fa9395.patch";
hash = "sha256-i6xcf+qpjD+7ZQY3ueiDaxO4+UA2LutLCZLNmT+ji1s=";
})
];
postPatch = "sed -i /tini-static/d CMakeLists.txt";