about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/dietlibc
diff options
context:
space:
mode:
authorEelco Dolstra2006-10-19 22:30:20 +0000
committerEelco Dolstra2006-10-19 22:30:20 +0000
commit8ae026392bc54411d57951e1ba73f04a0dc0acb7 (patch)
treeb1db609eb3ed242e3582c26c32f60c70d1151691 /pkgs/os-specific/linux/dietlibc
parentc6ecc900cf56380affd09e2d57ca6831e8462d34 (diff)
* Remove <wchar.h> since it's bogus.
svn path=/nixpkgs/trunk/; revision=6781
Diffstat (limited to 'pkgs/os-specific/linux/dietlibc')
-rw-r--r--pkgs/os-specific/linux/dietlibc/builder.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/dietlibc/builder.sh b/pkgs/os-specific/linux/dietlibc/builder.sh
index ab20c8ea1b56..0f1dbf534c59 100644
--- a/pkgs/os-specific/linux/dietlibc/builder.sh
+++ b/pkgs/os-specific/linux/dietlibc/builder.sh
@@ -15,6 +15,10 @@ postInstall() {
 
     # Copy <sys/user.h> from Glibc; binutils wants it.
     cp $glibc/include/sys/user.h $out/include/sys/
+
+    # This header is bogus: it contains declarations that aren't
+    # defined anywhere.
+    rm $out/include/wchar.h
 }
 
 genericBuild