From 44f140e63c2a0c818e941a688ed5dea3c9a0d597 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 16 Aug 2024 00:41:59 +0200 Subject: [PATCH] justfile: selective update --- justfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/justfile b/justfile index fbc9cc7..10d9d4b 100644 --- a/justfile +++ b/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 .