Missed a rename in the if statement

This commit is contained in:
Ana Hobden 2023-06-27 09:39:09 -07:00
parent cc23aa2fec
commit 0897b85290

View file

@ -170,7 +170,7 @@ runs:
if [ "${{ inputs.trust-runner-user }}" == "true" ]; then if [ "${{ inputs.trust-runner-user }}" == "true" ]; then
echo "trusted-users = root $USER" >> ${NIX_EXTRA_CONF_FILE} echo "trusted-users = root $USER" >> ${NIX_EXTRA_CONF_FILE}
fi fi
if [ -n "$NIX_EXTRA_CONF" ]; then if [ -n "$NIX_EXTRA_CONF_FILE" ]; then
export NIX_INSTALLER_EXTRA_CONF=$(cat ${NIX_EXTRA_CONF_FILE}) export NIX_INSTALLER_EXTRA_CONF=$(cat ${NIX_EXTRA_CONF_FILE})
echo "Set NIX_INSTALLER_EXTRA_CONF=$NIX_INSTALLER_EXTRA_CONF" echo "Set NIX_INSTALLER_EXTRA_CONF=$NIX_INSTALLER_EXTRA_CONF"
fi fi