💾 Archived View for midnight.pub › replies › 5478 captured on 2023-03-20 at 20:21:34. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
< Migrating from Arch to GUIX, or, An Exercise in Toe-Dipping
I've never seen such a system that mixes-and-matches different package managers over different systems. How the hell does it manage the libraries in the background without duplicating them?
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.