💾 Archived View for midnight.pub › replies › 5535 captured on 2023-01-29 at 06:59:36. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
< Migrating from Arch to GUIX, or, An Exercise in Toe-Dipping
The details of how bedrock works are interesting, although for simplicity's sake it mostly boils down to a pair of FUSE filesystems: etcfs and crossfs.
https://github.com/bedrocklinux/bedrocklinux-userland/tree/master/src/etcfs
https://github.com/bedrocklinux/bedrocklinux-userland/tree/master/src/crossfs
The two of them together consist of less than 5000 well-commented lines of code total, so likely worth the read.
That said, as I understand it, it does duplicate libraries when it comes to dependencies -- each package manager is entirely unaware of the other package managers running in other stratum.
Hah. My C/C++ is good, but not ahha-an-implicit-linux-struct-very-nice kind of good
Though, I wonder how hard it would be to have a background process that scans library paths for identical files, and then deduplicates them to some central bedrock-only library path?