Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with page src/pages/start/4.nix-develop.mdx - Funny Joke #199

Open
nielsegberts opened this issue Jan 30, 2023 · 0 comments
Open

Issue with page src/pages/start/4.nix-develop.mdx - Funny Joke #199

nielsegberts opened this issue Jan 30, 2023 · 0 comments

Comments

@nielsegberts
Copy link

nielsegberts commented Jan 30, 2023

The user is asked to run

nix develop "github:DeterminateSystems/zero-to-nix#example"

And then

nix develop "github:DeterminateSystems/zero-to-nix#hook"

Right after that the funny joke is mentioned:

Nix development environments support environment variables as well. Run echo $FUNNY_JOKE to access a (hilarious) value that's available only in the Nix environment.

However the hook environment does not have the funny joke only the example environment does. And if the user is expected to be two environments deep now (because exit is not explained until later), the explanation of exit is not sufficient because after running exit once (out of the hook environment) the joke is still accessible even though the explanation says it shouldn't.

This was introduced in this very recent commit:
1acb39d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant