this post was submitted on 11 Aug 2024
23 points (92.6% liked)
Nix / NixOS
1782 readers
1 users here now
Main links
Videos
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Got a good chuckle out of me. As for
buildFHSEnv
how does it work? Does it usechroot
and mount parts of/nix/store
into it?Anti Commercial-AI license
Ha! yes. The
buildFHSEnv
function works by creating a separate namespace akin to Docker containers but without complete separation from the host system (I hint to this in my post). It then hosts the libraries in/nix/store
into this namespace.