DeterminateSystems / zero-to-nix

Zero to Nix is your guide to learning Nix and flakes. Created by Determinate Systems.
https://zero-to-nix.com
Other
855 stars 64 forks source link

Issue with page `src/pages/start/3.nix-develop.mdx` #362

Open chris-ch opened 3 weeks ago

chris-ch commented 3 weeks ago

Following the instructions, everything works as expected up to the step "From a local flake".

Then the sequence fails (for any of the listed languages):

devcontainer-nix on branch main [!?] 
⬢ [Docker] ❯ mkdir nix-python-dev && cd nix-python-dev

devcontainer-nix/nix-python-dev on branch main [!?] 
⬢ [Docker] ❯ nix flake init --template "github:DeterminateSystems/zero-to-nix#python-dev"
wrote: /workspaces/devcontainer-nix/nix-python-dev/flake.lock
wrote: /workspaces/devcontainer-nix/nix-python-dev/flake.nix

devcontainer-nix/nix-python-dev on branch main [!?] 
⬢ [Docker] ❯ nix develop
warning: Git tree '/workspaces/devcontainer-nix' is dirty
error: path '/nix/store/bkq1nwh9gdjwkjq9356lk27gfkfyq1cw-source/nix-python-dev/flake.nix' does not exist