Functional package interface

2024-04-14 Thread spacecadet
n unknown file: 0 (%resolve-variable (5 (gnu packages bash) bash-minimal . ERROR: In procedure %resolve-variable: error: bash-minimal: unbound variable So I'm probably doing something bad. Seems like the first variable in the "inputs" fails to resolve somewhere? I don't even

Re: Functional package interface

2024-04-16 Thread spacecadet
Hi Nicolas Isn't what you're trying to do already in Guix? Have a look at package-inputs-rewrite right there : https://guix.gnu.org/manual/devel/en/html_node/Defining-Package-Variants.html I want to have this but more powerful, I'd like to do something like define an operating system with all

Re: Functional package interface

2024-04-16 Thread spacecadet
In the code there, the function propagate-packages will indeed try and propagate every package through the graph node. I looked at your code, it's comprehensive. I wasn't sure such a thing was possible with input rewriting, although I think there's still a lot of benefit to the functional approa

Re: Guix (and Guile's) promise, and how to (hopefully) get there

2024-10-28 Thread spacecadet
The main turn-off people cite to me is our association with GNU. As a particularly poignant case study, in conversations with someone who has contributed significantly to Guix on my recommendation and did not stay around, the primary complaint was not the email-based workflow (which was noted a