Skip to content

Commit

Permalink
add note about out-of-date lock
Browse files Browse the repository at this point in the history
Co-authored-by: Charlot Shaw <141575226+charlot-shaw@users.noreply.github.com>
  • Loading branch information
Misterio77 and charlot-shaw committed Apr 27, 2024
1 parent f1035a4 commit 877f702
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ nix flake init -t github:misterio77/nix-starter-config#standard
yet.
- Take a look at `flake.nix`, making sure to fill out anything marked with
FIXME (required) or TODO (usually tips or optional stuff you might want)
- Update your flake lock with `nix flake update`, so you get the latest
packages and modules
- `git add` and `git push` your changes! Or at least copy them somewhere if
you're on a live medium.

Expand Down Expand Up @@ -284,6 +286,14 @@ and you should be good to go. Files on `.gitignore`, of course, are invisible
to nix - this is to guarantee your build won't depend on anything that is not
on your repo.

## Nix installs the wrong version of software/fails to find new software

The nix dependencies (such as `nixpkgs`) used by your configuration will
strictly follow the `flake.lock` file, using the commits written into it when
you (re)generated.

To update your flake inputs, simply use `nix flake update`.

<!--
# Learning resources
TODO
Expand Down

0 comments on commit 877f702

Please sign in to comment.