libnsl: Add alpine patches to fix w/musl

This commit is contained in:
Will Dietz
2018-02-13 09:44:44 -06:00
parent 8fa7634819
commit 6c2e8b36cf
3 changed files with 77 additions and 0 deletions
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libtirpc ];
patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [ ./cdefs.patch ./nis_h.patch ];
meta = with stdenv.lib; {
description = "Client interface library for NIS(YP) and NIS+";
homepage = https://github.com/thkukuk/libnsl;