For future reference and any lookers of old issues. I’ve attempted this 10 months ago and have a working proof of concept at: - https://github.com/Bqleine/PackageKit/ (PackageKit backend) - https://codeberg.org/Baleine/guix/src/branch/appstream (AppStream file generation)
It can list and install packages. See <https://piaille.fr/@baleine/113946191295887598>. After overcoming some difficulties with the environment the backend runs in (its root, not user!). I stopped at actually having the backend perform the rest of the actions. It should probably be the easiest part, but the Guix CLI is so intertwined with the actual logic that you have to either re-implement the whole thing or call the CLI!!! I was expecting to be able to use Guile for performing the Guix installation actions, so it was pretty disappointing. In the end, I didn’t chose to stop working on it, but I just never got back to it. If someone wants to continue it, I can provide guidance. Otherwise I might finish it some day. See you then! Noé
signature.asc
Description: PGP signature
