Demi Marie Obenour writes: > It is very easy to forget to do this, and the results are confusing at > best and wrong at worst. Add wrapper scripts that get it right and also > automatically change to the correct directory for you. I think you'd probably be better setting up nix-direnv or something. It makes it so that you can't forget to be in the shell, but also means you can just run make, rather than having to remember to run some other script. It also comes with caching I think, so if that works you'll probably save quite a bit of time over doing a Nix evaluation for every make invocation.