Issue on the nix-develop guide 3
Joshua-Hwang opened this issue · 1 comments
Joshua-Hwang commented
Hi,
I'm not sure if I'm missing something from the previous guides. When I run the first line in the guide this is my result.
joshua@nixos ~> nix --version
nix (Nix) 2.13.6
joshua@nixos ~> nix develop "github:DeterminateSystems/zero-to-nix#example" --show-trace
error:
… while updating the lock file of flake 'github:DeterminateSystems/zero-to-nix/1f79c82aa98f62134bd8d505cbdfbfe013afeedc'
error: cannot write modified lock file of flake 'github:DeterminateSystems/zero-to-nix' (use '--no-write-lock-file' to ignore)
Am I missing something obvious?
lucperkins commented
You'll need to upgrade Nix, as 2.13.* is pretty dated at this point: https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-upgrade-nix