clan-infra/flake-parts/action-flake-update/script.sh
2023-07-28 13:26:21 +02:00

8 lines
225 B
Bash

#!/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"