Update README.md
This commit is contained in:
parent
6968e1b955
commit
84417c27da
12
README.md
12
README.md
|
@ -29,14 +29,8 @@ To build the remote machines, run `colmena apply`. See the [colmena documentatio
|
||||||
|
|
||||||
### Updating
|
### 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
|
Commit changes to `flake.lock` and `npins/sources.json`.
|
||||||
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.
|
|
Loading…
Reference in a new issue