* 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:
@@ -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--;' ""
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user