This fixes #9805 which prevents newly-installed nix from working as no sandbox shell has been set during the configure step. closes #9863 closes #9805