From a2cff5d18a37513cbed9e1faa2fd0a48020ad558 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sun, 17 Jan 2021 19:02:40 -0500 Subject: [PATCH] Update flake --- README.md | 10 ++++++++++ flake.lock | 18 +++++++++--------- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 61babd9..1008cbb 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,13 @@ $ git clone git@github.com:davegallant/nix-config.git $ cd nix-config $ sudo ./nixos-rebuild switch ``` + +## Update + +`nix flake update` does not update the [flake.lock](./flake.lock). There is an open issue [here](https://github.com/NixOS/nix/issues/3781). + +To update `flake.lock`, run: + +```console +$ nix flake update --recreate-lock-file +``` diff --git a/flake.lock b/flake.lock index c6fbe93..89f8a74 100644 --- a/flake.lock +++ b/flake.lock @@ -23,11 +23,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1610779893, - "narHash": "sha256-dAKlewu9L3C4ZCWgS1UVtk2gYJI42ZeUdcezfbXvSdw=", + "lastModified": 1610870190, + "narHash": "sha256-G0fY7YVFpMw7lLb9HgpZufpeAVmCCZkzZ+WDscy4ImY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1eff582e7ea6dcb208127ad369e231eaaf6fa378", + "rev": "f5f66148b28b3d9b9b8381532052ad93a35d5d67", "type": "github" }, "original": { @@ -39,11 +39,11 @@ }, "nixpkgs-master": { "locked": { - "lastModified": 1610831355, - "narHash": "sha256-5MM+YvTkLyWEBxlKALvs6EmSE74wDUhVreO2fyxudDY=", + "lastModified": 1610926894, + "narHash": "sha256-sz9xzrSQSr6SJO9jIQUzP53At+6yM98jizJj/PJOibA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "feb775d1c87b52b122db203e21341794f2044f84", + "rev": "9c008bc1098c881f840e4d2b34862c6856d0daf6", "type": "github" }, "original": { @@ -54,11 +54,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1610219734, - "narHash": "sha256-hCsGe2nDz+SX4uO+lj0qPVcSGZdt52R9Yk5MOYs4djw=", + "lastModified": 1610842533, + "narHash": "sha256-6hW8CML8RnNrRJMv7E56rXAhsCNgUM97HIVSqWxnO64=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "257cbbcd3ab7bd96f5d24d50adc807de7c82e06d", + "rev": "68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0", "type": "github" }, "original": {