mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
libnfsidmap: add missing include, fix w/musl
This commit is contained in:
parent
40be5dd2df
commit
d6a6dcc1f8
|
@ -2,12 +2,16 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libnfsidmap-0.25";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${name}.tar.gz";
|
||||
sha256 = "1kzgwxzh83qi97rblcm9qj80cdvnv8kml2plz0q103j0hifj8vb5";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i '1i#include <sys/types.h>' cfg.h
|
||||
'';
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
configureFlags="--with-pluginpath=$out/lib/libnfsidmap"
|
||||
|
|
Loading…
Reference in a new issue