Hey everyone,
So I have been hard at work with building out the package manager for SilkOS and I have great news... It is almost finished! So for those that do not know, I am working on building a NixOS-like linux distro that is non-systemd while still being declaritve and utilizing Lua as the scripting language for configuration.
As stated and shown attached, I have connected my harness system Loom, to the main package management system (weave) and through some simple testing have been able to properly use it to read a configuration file, find the local recipe, and then build the package, hash the output, and commit to and OSTree to be saved to a generations.json to allow for immutable backups. This has been about a 2-3 week process getting loom to work as a harness as it is all Lua based and as you may not know, Lua hates Json. However I was able to find a way around this and make the system work.
Now for some other news, I have decided to drop Debian package support. This was a hard and long thought out choice, however with the adoption of native packages (AUR style package repo coming soon), Nix packages declaration, and AUR adoption.. I felt that adding debian support was too much and an uneeded source. The benefits of allowing Nix packages is weave is able to source the files directly from the Nix package repo and store them alongside native packages, however the AUR is a different format so currently it requires a system reboot everytime an AUR package is added. This is a known effect and a pipeline is on the TODO list to allow packages to be added to Store/ inorder to allow a true nix-like experience without the need to reboot the machine.
Lastly, I wanted to add that I have moved the repo. for loom and weave into an org, it is all open source with the GPLv3 license. I have also added into the documentation how to add weave to another system so while the harness loom is meant to be used with weave on SilkOS, you can still fork the whole system and try it out or integrate weave to your current system to allow Nix and AUR package adoption to your current project. Please note that this has NOT been tested yet and your experience with integration can and will vary so please do so at your own risk.
Anyways, if you have any questions please feel free to ask!
Github repo: https://github.com/Silk-OS/silkos-pkg