You cannot access the home directory at all during a nix build.
Re:M1 dev setup with a virtual Linux box
by mixmastamyk on Sunday April 11, 2021 @04:50PM
(#26773295)
Interesting, what about when your software runs? Is it still in a chroot or similar?
It's not running in a sandbox. That's not the goal of nix. It's only a package manager/build system.
Re:M1 dev setup with a virtual Linux box
by mixmastamyk on Sunday April 11, 2021 @09:48PM
(#26775383)
Oh, then why can it not access the home folder?
Does it solve the security problem by preventing access to the majority of your home directory?
Or solve it by only allowing you to install vetted libraries?