Hi together,
im Trying to build a nix derivation as a non root user that has a separate nix-store. For the build I want to disable the sandbox because of network requirements. This however seems not to be possible.
Even when disabling sandbox at /etc/nix/nix.conf and adding my user to the trusted-users I don’t have any success to come further on this.
My understanding so far ist that since im using a separate store the build is not executed by the nix daemon so those settings don’t effect the build. However passing parameters as --option sandbox false also seem to be ignored.
I would really appreciate some help on this if anyone has experienced the same ![]()
nix build --option sandbox false .#derivationThatNeedsNetwork
>>>
> * Immediate connect fail for 192.168.1.1: Network is unreachable
Kind regards
Henrik