NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
12.9k stars 1.53k forks source link

Take advantage of C++20 to massively simplify the build and fetching scheduler ("goals") #11927

Open Ericson2314 opened 4 days ago

Ericson2314 commented 4 days ago

In https://github.com/NixOS/nix/pull/11005 @L-as introduced c++20 coroutines in order to clean up this code. See that PR for details.

That PR set up the infrastructure to do so, but for most goal types intentionally didn't actually do the simplification. (The simplification was instead left for follow-up PRs, to keep things reviewable.)

This PR tracks finishing the job.