justfile: selective update
This commit is contained in:
parent
a576db63d1
commit
44f140e63c
8
justfile
8
justfile
|
@ -20,6 +20,14 @@ update:
|
|||
@mkdir -p .direnv/
|
||||
@echo "$(date +%Y-%m-%d)" > .direnv/pull-date
|
||||
|
||||
@update-select:
|
||||
git reset flake.lock
|
||||
git restore flake.lock
|
||||
nix eval .#inputs --apply builtins.attrNames --json \
|
||||
| jq '.[]' -r \
|
||||
| gum choose --no-limit --height=15 \
|
||||
| xargs nix flake update --commit-lock-file
|
||||
|
||||
build:
|
||||
nixos-rebuild build --accept-flake-config --show-trace --flake .
|
||||
|
||||
|
|
Loading…
Reference in New Issue