From 28f255ee7c1f1e270d12988a5ec45a1a8b891717 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Mon, 17 Feb 2025 21:01:32 +0100 Subject: [PATCH] Update nixpkgs --- README.md | 7 ++++++- flake.lock | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 59a115f..334dd90 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,12 @@ On NixOS: - Ensure Linux Kernel is the same as you configuration. -Otherwise, change linux_dev variable with you kernel variant and change flake.lock nixpkgs with your version. +Use this command to update nix inputs + +```bash +nix flake update --override-input nixpkgs "github:NixOS/nixpkgs/$(nixos-version --revision)" +``` + - Use direnv allow or nix develop to setup shell. diff --git a/flake.lock b/flake.lock index 32604a9..fa57752 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1739024019, - "narHash": "sha256-xvTo0Aw0+veek7hvEVLzErmJyQkEcRk6PSR4zsRQFEc=", + "lastModified": 1739446958, + "narHash": "sha256-+/bYK3DbPxMIvSL4zArkMX0LQvS7rzBKXnDXLfKyRVc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "3a228057f5b619feb3186e986dbe76278d707b6e", + "rev": "2ff53fe64443980e139eaa286017f53f88336dd0", "type": "github" }, "original": {