Skip to content

Commit

Permalink
Add FUNNY_JOKE to first two examples.
Browse files Browse the repository at this point in the history
Minor nit, but in zero-to-nix under the nix-develop section the reference to the environment variable 'FUNNY_JOKE' is under the the "hook" example, not the "zero-to-nix" example. So the user (for example, me) could be in either or when entering "echo $FUNNY_JOKE".
  • Loading branch information
13r0ck authored and Brock Szuszczewicz committed Jul 8, 2024
1 parent c08bc68 commit ee53b1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nix/shell/example.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
echo "Run \"exit\" to exit this environment."
echo "Then run \"nix develop github:DeterminateSystems/zero-to-nix#hook\" again to re-trigger this hook."
'';

FUNNY_JOKE = "What kind of phone does a turtle use? A shell phone!";
};

cpp = pkgs.mkShell {
Expand Down

0 comments on commit ee53b1a

Please sign in to comment.