Closed hatredholder closed 2 weeks ago
Updated Nix and the issue disappeared:
$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.6.57, NixOS, 24.11 (Vicuna), 24.11.20241025.18536bf`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.24.9`
- nixpkgs: `/nix/store/wb6agba4kfsxpbnb5hzlq58vkjzvbsk6-source`
Issue
In my NixOS configuration I have a derivation which uses
__noChroot = true
to disable the sandbox and have internet access. In order to build the configuration I must set--option sandbox relaxed
flag before runningnix build
, which works fine on my local machine.When I run nixos-anywhere with the specified sandbox option, however, I get the following error:
I've also tried running it with
--option sandbox false
, no success that way either.System information