Update README.md

This commit is contained in:
Katherina Walshe-Grey 2024-08-22 13:29:04 +01:00
parent 6968e1b955
commit 84417c27da

View file

@ -29,14 +29,8 @@ To build the remote machines, run `colmena apply`. See the [colmena documentatio
### Updating
Run `npins update` to update the dependencies within the currently selected upgrade channels.
Run `nix flake update` to update evaluation-time dependencies.
To upgrade to a new major version of a dependency, simply re-add it and the old version will be overwritten, e.g.:
Run `npins update` to update build-time dependencies.
```sh
npins add --name nixpkgs channel nixos-unstable
```
In either case, commit the changes to `npins/sources.json`.
See the [npins documentation](https://github.com/andir/npins) for more details.
Commit changes to `flake.lock` and `npins/sources.json`.