update-scripts/update: fix call to version-info

The binary is at `result/bin/version-info`, not `result` itself.

(cherry picked from commit 743e777484)
This commit is contained in:
Matt Sturgeon 2025-06-05 10:26:58 +01:00 committed by github-actions[bot]
parent 8917e2e8ec
commit 178c47f990

View file

@ -43,7 +43,7 @@ writeShellApplication {
versionInfo() { versionInfo() {
nix-build ./update-scripts -A version-info nix-build ./update-scripts -A version-info
./result ./result/bin/version-info
if [ -n "$commit" ]; then if [ -n "$commit" ]; then
git add version-info.toml git add version-info.toml
git commit "$@" git commit "$@"