Skip to content

Commit

Permalink
readme: Fix flake update step
Browse files Browse the repository at this point in the history
Without `flake.lock`, `nix flake update` fails to run.
  • Loading branch information
srid authored Jan 20, 2024
1 parent 7d7f98b commit 2af4dab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Before proceeding, [install Nix](https://nixos.asia/en/install) first.
```
1. Update the flake inputs so as to use latest sofware:
```sh
nix flake lock # Ensure `flake.lock` exists
nix flake update # Update inputs to use latest software
```
1. Open `flake.nix` and set `myUserName` to your user name. You can use `echo $USER` to get your user name.[^runner]
Expand Down

0 comments on commit 2af4dab

Please sign in to comment.