ajshdaksdhakjsdh

This commit is contained in:
2026-07-16 15:13:13 +02:00
parent 8168a6bdf3
commit ac7812f88f
+6 -1
View File
@@ -710,7 +710,12 @@ bump-here *packages:
for package in "${package_aliases[@]}"; do
if nix eval {{NIX_EVAL_OPTS}} --file default.nix "$package".passthru.updateScript >&/dev/null; then
HEAD=$($GIT rev-parse HEAD)
"${config2[@]}" nix-update "$package" --use-update-script --update-script-args "--argstr skip-prompt true" --commit || true
if ! "${config2[@]}" nix-update "$package" --use-update-script --update-script-args "--argstr skip-prompt true" --commit ; then
# failed -> drop and move on
git restore .
continue
fi
# success, but no commit
if [[ $($GIT rev-parse HEAD) = "$HEAD" ]]; then
echo "no commit found, trying without the updateScript..."
$GIT restore .