* generic functions to register with the system, good for "weak dependencies" svn path=/nixpkgs/trunk/; revision=5009