Patch contributed by Karn Kallio.
getAttr was ambiguous. It's also a builtin function fix svn path=/nixpkgs/trunk/; revision=15692
svn path=/nixpkgs/trunk/; revision=12940