From 5c11925307affa361319c27c7bb0d1401f35ef9f Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 3 May 2025 16:15:59 +1000 Subject: [PATCH] chore: update 'flakeup' alias to include nixpkgs hash in commit message --- .envrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.envrc b/.envrc index b55f6ba..81c38a4 100644 --- a/.envrc +++ b/.envrc @@ -29,4 +29,4 @@ EOT chmod +x "$alias_file" } -export_alias flakeup 'nix flake update && git commit flake.lock -m "nix: update flake sources" && FLAKE=$PWD nh os switch' +export_alias flakeup 'nix flake update && git commit flake.lock -m "nix: update flake sources to $(nix flake metadata --json | jq '.locks.nodes.nixpkgs.locked.rev' --raw-output | cut -c1-7)" && FLAKE=$PWD nh os switch'