From 6968e1b9556d66c8398508a41857f44450066098 Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Thu, 22 Aug 2024 13:28:56 +0100 Subject: [PATCH 1/2] flake update --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 5f61b87..8e6749e 100644 --- a/flake.lock +++ b/flake.lock @@ -83,11 +83,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1723688146, - "narHash": "sha256-sqLwJcHYeWLOeP/XoLwAtYjr01TISlkOfz+NG82pbdg=", + "lastModified": 1724242322, + "narHash": "sha256-HMpK7hNjhEk4z5SFg5UtxEio9OWFocHdaQzCfW1pE7w=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c3d4ac725177c030b1e289015989da2ad9d56af0", + "rev": "224042e9a3039291f22f4f2ded12af95a616cca0", "type": "github" }, "original": { From 84417c27daa4f17eef1bf145594ee50d440041de Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Thu, 22 Aug 2024 13:29:04 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e1c5faf..e4a39d7 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +Commit changes to `flake.lock` and `npins/sources.json`. \ No newline at end of file