diff --git a/system/scripts/update-version.nix b/system/scripts/update-version.nix
index 92f941f3f877e8eed83350cf782af6ebbde9b58b..f675ba38b6314ee5d29ce07415f207f17231c299 100644
--- a/system/scripts/update-version.nix
+++ b/system/scripts/update-version.nix
@@ -50,7 +50,7 @@ if ! ${pkgs.gnused}/bin/sed -i "s/version\s*=\s*\"[^\"]*\"/version = \"''${VERSI
     exit 1    
 fi
 
-$(${pkgs.git}/bin/git -C ${workingDirectory}/ commit -m "Version and hash updated to ${VERSION} ${HASH}") ${workingDirectory}/project.nix
+${pkgs.git}/bin/git -C ${workingDirectory}/ commit -m "Version and hash updated to $VERSION $HASH" ${workingDirectory}/project.nix
 echo_ok "Version and hash updated"
 
 ''