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 fcffcca3fd
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

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 "$@"