diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-07-16 22:04:56 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-07-16 22:04:56 +0000 |
commit | 26164c05c5a227462e8f076db6018a4c55fa1412 (patch) | |
tree | ac7d9da46b6f40e36e3bde4c1051811f4527d4d4 /pkgs/servers/x11 | |
parent | cf5e79f583d97cc9cf7f429ac3212a7e18550d70 (diff) | |
download | nixlib-26164c05c5a227462e8f076db6018a4c55fa1412.tar nixlib-26164c05c5a227462e8f076db6018a4c55fa1412.tar.gz nixlib-26164c05c5a227462e8f076db6018a4c55fa1412.tar.bz2 nixlib-26164c05c5a227462e8f076db6018a4c55fa1412.tar.lz nixlib-26164c05c5a227462e8f076db6018a4c55fa1412.tar.xz nixlib-26164c05c5a227462e8f076db6018a4c55fa1412.tar.zst nixlib-26164c05c5a227462e8f076db6018a4c55fa1412.zip |
* lndir: work properly on directories with st_nlink set to 1 (such as
on btrfs). (From David Brown.) svn path=/nixpkgs/trunk/; revision=22619
Diffstat (limited to 'pkgs/servers/x11')
-rw-r--r-- | pkgs/servers/x11/xorg/overrides.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/servers/x11/xorg/overrides.nix b/pkgs/servers/x11/xorg/overrides.nix index e8a311a651a9..1582fc4fdcd4 100644 --- a/pkgs/servers/x11/xorg/overrides.nix +++ b/pkgs/servers/x11/xorg/overrides.nix @@ -153,4 +153,11 @@ in configureFlags = "LIBUUID_CFLAGS='' LIBUUID_LIBS=''"; }; + lndir = attrs: attrs // { + preConfigure = '' + substituteInPlace lndir.c \ + --replace 'n_dirs--;' "" + ''; + }; + } |