diff --git a/README.md b/README.md index e4a39d7..e1c5faf 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,14 @@ To build the remote machines, run `colmena apply`. See the [colmena documentatio ### Updating -Run `nix flake update` to update evaluation-time dependencies. +Run `npins update` to update the dependencies within the currently selected upgrade channels. -Run `npins update` to update build-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.: -Commit changes to `flake.lock` and `npins/sources.json`. \ No newline at end of file +```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. \ No newline at end of file diff --git a/flake.lock b/flake.lock index 8e6749e..5f61b87 100644 --- a/flake.lock +++ b/flake.lock @@ -83,11 +83,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1724242322, - "narHash": "sha256-HMpK7hNjhEk4z5SFg5UtxEio9OWFocHdaQzCfW1pE7w=", + "lastModified": 1723688146, + "narHash": "sha256-sqLwJcHYeWLOeP/XoLwAtYjr01TISlkOfz+NG82pbdg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "224042e9a3039291f22f4f2ded12af95a616cca0", + "rev": "c3d4ac725177c030b1e289015989da2ad9d56af0", "type": "github" }, "original": {