libbsd: apply upstream patch to fix w/musl
This commit is contained in:
@@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
|
||||
# the configure scripts
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
patches = stdenv.lib.optionals stdenv.isDarwin [ ./darwin.patch ];
|
||||
patches = stdenv.lib.optional stdenv.isDarwin ./darwin.patch
|
||||
# Suitable for all, but limited to musl to avoid rebuilds
|
||||
# https://cgit.freedesktop.org/libbsd/patch/?id=1f8a3f7bccfc84b195218ad0086ebd57049c3490
|
||||
++ stdenv.lib.optional stdenv.hostPlatform.isMusl ./non-glibc.patch;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Common functions found on BSD systems";
|
||||
|
||||
Reference in New Issue
Block a user