zero-to-nix icon indicating copy to clipboard operation
zero-to-nix copied to clipboard

missing step `src/pages/start/3.nix-develop.mdx`

Open coryschwartz opened this issue 9 months ago • 1 comments

There's a small bug on this page. I don't think it will trip anybody up, but it seems like if you follow current steps precisely (and without thinking) then the tutorial is slightly wrong.

In the section following "Two other things that you can provide in Nix development environments:"

we enter this section having already entered the Example development environment. So we are already one development environment deep the start.

Step 1 has us enter the hook development environment and see what happens there. Now we are two development environments deep. Step 2 has us look at an environment variable that was created when we entered the Example environment.

Then, we are asked to exit and observe that the $FUNNY_JOKE variable is no longer visible. Of course, this is not actually the case because we only exited once. You'd need to exit twice to completely leave the environments.

coryschwartz avatar May 23 '24 00:05 coryschwartz