libdaemon: Add patch to fix musl build

This commit is contained in:
Will Dietz
2018-02-13 09:44:50 -06:00
parent e2ef21d9b5
commit 0153599164
2 changed files with 19 additions and 2 deletions
@@ -1,6 +1,6 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (rec {
name = "libdaemon-0.14";
src = fetchurl {
@@ -24,4 +24,8 @@ stdenv.mkDerivation rec {
platforms = stdenv.lib.platforms.unix;
maintainers = [ ];
};
}
} // stdenv.lib.optionalAttrs stdenv.hostPlatform.isMusl {
# This patch should be applied unconditionally, but doing so will cause mass rebuild.
patches = ./fix-includes.patch;
})