I also added some comments on why these patches. Now I tested that the patches work. svn path=/nixpkgs/branches/stdenv-updates/; revision=24165
svn path=/nixpkgs/branches/stdenv-updates/; revision=24164