forked from mirrors/nixpkgs
* lndir: work properly on directories with st_nlink set to 1 (such as
on btrfs). (From David Brown.) svn path=/nixpkgs/trunk/; revision=22619
This commit is contained in:
parent
cf5e79f583
commit
26164c05c5
|
@ -153,4 +153,11 @@ in
|
||||||
configureFlags = "LIBUUID_CFLAGS='' LIBUUID_LIBS=''";
|
configureFlags = "LIBUUID_CFLAGS='' LIBUUID_LIBS=''";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
lndir = attrs: attrs // {
|
||||||
|
preConfigure = ''
|
||||||
|
substituteInPlace lndir.c \
|
||||||
|
--replace 'n_dirs--;' ""
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue