libnfsidmap: add missing include, fix w/musl

This commit is contained in:
Will Dietz 2018-04-22 22:25:35 -05:00
parent 40be5dd2df
commit d6a6dcc1f8

View File

@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
sha256 = "1kzgwxzh83qi97rblcm9qj80cdvnv8kml2plz0q103j0hifj8vb5";
};
postPatch = ''
sed -i '1i#include <sys/types.h>' cfg.h
'';
preConfigure =
''
configureFlags="--with-pluginpath=$out/lib/libnfsidmap"