clan-infra/pkgs/action-flake-update/script.sh

8 lines
225 B
Bash
Raw Normal View History

2023-07-26 16:30:06 +00:00
#!/usr/bin/env bash
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"