action-flake-update: allow specifying of inputs to be updated

This commit is contained in:
a-kenji 2024-08-19 12:53:49 +02:00
parent d4a6ee151a
commit 05cae050e5
2 changed files with 2 additions and 2 deletions

View File

@ -13,5 +13,5 @@ writePureShellScriptBin "action-flake-update"
nix
]
''
bash ${./script.sh}
bash ${./script.sh} "$@"
''

View File

@ -4,4 +4,4 @@ set -euo pipefail
COMMIT_MSG="update flake lock - $(date --iso-8601=minutes)"
nix --experimental-features "nix-command flakes" \
flake update --commit-lock-file --commit-lockfile-summary "$COMMIT_MSG"
flake update --commit-lock-file --commit-lockfile-summary "$COMMIT_MSG" "$@"