nix: Fix generate-licenses failure (#34072)

We should maybe add `generate-licenses` to the sensitivity list for
running nix in CI given that nix uses a workaround for it.

Release Notes:

- N/A
This commit is contained in:
Julia Ryan 2025-07-08 11:05:11 -07:00 committed by GitHub
parent 9a3720edd3
commit 01bdef130b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,8 +36,9 @@ fi
echo "Generating cargo licenses" echo "Generating cargo licenses"
if [ -z "${ALLOW_MISSING_LICENSES-}" ]; then FAIL_FLAG=--fail; else FAIL_FLAG=""; fi if [ -z "${ALLOW_MISSING_LICENSES-}" ]; then FAIL_FLAG=--fail; else FAIL_FLAG=""; fi
if [ -z "${ALLOW_MISSING_LICENSES-}" ]; then WRAPPER=fail_on_stderr; else WRAPPER=""; fi
set -x set -x
fail_on_stderr cargo about generate \ $WRAPPER cargo about generate \
$FAIL_FLAG \ $FAIL_FLAG \
-c script/licenses/zed-licenses.toml \ -c script/licenses/zed-licenses.toml \
"$TEMPLATE_FILE" >>"$OUTPUT_FILE" "$TEMPLATE_FILE" >>"$OUTPUT_FILE"