This reverts commit 619eeb658a, reversing changes made to 1af94bf471.
619eeb658a
1af94bf471
config.nix
As requested in https://github.com/NixOS/nix/pull/11792#discussion_r1827034428
This should make `_NIX_TEST_ACCEPT=1` work again, fixing #11369. Progress on #2503
Make sure that `extraSandboxProfile` is set before we check whether it's empty or not (in the `sandbox=true` case). Also adds a test case for this. Co-Authored-By: Artemis Tosini <lix@artem.ist> Co-Authored-By: Eelco Dolstra <edolstra@gmail.com>