diff --git a/ci/update.nix b/ci/update.nix index 33c5c887..e1f56aa4 100644 --- a/ci/update.nix +++ b/ci/update.nix @@ -31,6 +31,9 @@ writeShellApplication { update_args+=( "--commit-lock-file" ) fi + # Ensure we run at the root of the flake + cd "$(git rev-parse --show-toplevel)" + currentCommit() { git show --no-patch --format=%h }