Open terlar opened 5 months ago
If running nix-portable with sandbox = false and a derivation writes to HOME you will get an error like this:
sandbox = false
HOME
error: home directory '/homeless-shelter' exists; please remove it to assure purity of builds without sandboxing
I noticed this when trying to build this: https://github.com/nix-community/NixOS-WSL/pull/481
Perhaps this folder can ensure it is not writable. Or if it is possible to solve in another way.
/homeless-shelter should not exist but should be writeable.
/homeless-shelter
Possible solutions:
If running nix-portable with
sandbox = false
and a derivation writes toHOME
you will get an error like this:I noticed this when trying to build this: https://github.com/nix-community/NixOS-WSL/pull/481
Perhaps this folder can ensure it is not writable. Or if it is possible to solve in another way.