forked from nico/dots
chore: update 'flakeup' alias to include nixpkgs hash in commit message
This commit is contained in:
parent
db6cd7e60d
commit
5c11925307
1 changed files with 1 additions and 1 deletions
2
.envrc
2
.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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue