Comment by imran-iq

3 years ago

Good news! One of the Google Summer of Code projects for Guix is indeed adding something similar to the USE flags (called Parametrized Packages)[0]

---

0: https://lists.gnu.org/archive/html/guix-devel/2023-05/msg001...

That's really interesting, thanks for sharing!

Prikler's suggested syntax feels apt, as sugar for (I imagine) a set of native Guile parameters around the remaining fields of the package definition. Infrastructure will need created to implement inheritance, possibly at the level of fluids, in a manner that complies with the Guix maintainers preferences.

Thinking about how I tended to manage my USE flags (ie. through `package.use` as a directory), I think that the balance of package-level impact and operating-system-level syntax (how will services be affected?) will be interesting to see developed