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

The binary is at `result/bin/version-info`, not `result` itself.
This commit is contained in:
Matt Sturgeon 2025-06-05 10:26:58 +01:00
parent 635a9e770f
commit 743e777484

View file

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