add updatePkgs in justfile

This commit is contained in:
ulic-youthlic 2025-03-20 03:19:54 +08:00
parent 79afb21d3a
commit 019774c93a
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -13,9 +13,11 @@ switch specialisation=DEFAULT_SPECIALISATION:
nh os switch {{ FLAKE_HOME }} {{ if specialisation == DEFAULT_SPECIALISATION { "-S" } else { "-s " + specialisation } }}
update:
cd pkgs && nvfetcher
nix flake update --log-format internal-json 2>&1 | nom --json
updatePkgs:
cd pkgs && nvfetcher
build specialisation=DEFAULT_SPECIALISATION:
nh os build {{ FLAKE_HOME }} {{ if specialisation == DEFAULT_SPECIALISATION { "-S" } else { "-s " + specialisation } }}
@ -42,3 +44,4 @@ alias c := clean
alias b := build
alias H := switchHome
alias B := buildHome
alias U := updatePkgs