Gentoo-like use-flags


I made two demo implementations of Gentoo-like use-flags ( for nixpkgs:

- Undesirable one

- The, IMHO, desirable one that needs some more work (and, hence, consensus on merging that work to nixpkgs in the first place). also has all the technical details and thoughts on the topic.

Any thoughts are welcome here or there.