Update install-nix.sh
Co-authored-by: Domen Kožar <domen@enlambda.com>
This commit is contained in:
parent
2cce1fd76b
commit
81eb746179
@ -91,7 +91,7 @@ if [[ -n "${INPUT_NIX_PATH:-}" ]]; then
|
|||||||
echo "NIX_PATH=${INPUT_NIX_PATH}" >> "$GITHUB_ENV"
|
echo "NIX_PATH=${INPUT_NIX_PATH}" >> "$GITHUB_ENV"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set temporary directory (if not already set)
|
# Set temporary directory (if not already set) to fix https://github.com/cachix/install-nix-action/issues/197
|
||||||
if [[ -z "${TMPDIR:-}" ]]; then
|
if [[ -z "${TMPDIR:-}" ]]; then
|
||||||
echo "TMPDIR=${RUNNER_TEMP}" >> "$GITHUB_ENV"
|
echo "TMPDIR=${RUNNER_TEMP}" >> "$GITHUB_ENV"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user