No other simple options, sorry. I can only think of rewriting nix-shell to accomplish what you want. Probably it's not even that hard. Reparse the expression, cleanup the env and refill the env.
No other simple options, sorry. I can only think of rewriting nix-shell to accomplish what you want. Probably it's not even that hard. Reparse the expression, cleanup the env and refill the env.