These patches supercede any unapplied earlier patches and can all be applied to current trunk, they contain meta attribute fixes and proper all-packages.nix sorting. Please merge if everything looks ok. Thank you -nate