3
0
Fork 0
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:
Eelco Dolstra 2010-07-16 22:04:56 +00:00
parent cf5e79f583
commit 26164c05c5

View file

@ -153,4 +153,11 @@ in
configureFlags = "LIBUUID_CFLAGS='' LIBUUID_LIBS=''";
};
lndir = attrs: attrs // {
preConfigure = ''
substituteInPlace lndir.c \
--replace 'n_dirs--;' ""
'';
};
}