Author: eelco
Date: Fri Jul 16 22:04:56 2010
New Revision: 22619
URL: https://svn.nixos.org/websvn/nix/?rev=22619&sc=1
Log:
* lndir: work properly on directories with st_nlink set to 1 (such as
on btrfs). (From David Brown.)
Modified:
nixpkgs/trunk/pkgs/servers/x11/xorg/overrides.nix
Modified: nixpkgs/trunk/pkgs/servers/x11/xorg/overrides.nix
==============================================================================
--- nixpkgs/trunk/pkgs/servers/x11/xorg/overrides.nix Fri Jul 16 11:57:33
2010 (r22618)
+++ nixpkgs/trunk/pkgs/servers/x11/xorg/overrides.nix Fri Jul 16 22:04:56
2010 (r22619)
@@ -153,4 +153,11 @@
configureFlags = "LIBUUID_CFLAGS='' LIBUUID_LIBS=''";
};
+ lndir = attrs: attrs // {
+ preConfigure = ''
+ substituteInPlace lndir.c \
+ --replace 'n_dirs--;' ""
+ '';
+ };
+
}
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits