mirror of
https://github.com/cachix/install-nix-action.git
synced 2025-05-06 17:13:12 +00:00
export new path
This commit is contained in:
parent
193b0d85f5
commit
90a97c60ab
|
@ -90,6 +90,10 @@ fi
|
|||
echo "/nix/var/nix/profiles/default/bin" >> "$GITHUB_PATH"
|
||||
echo "/nix/var/nix/profiles/per-user/$USER/profile/bin" >> "$GITHUB_PATH"
|
||||
|
||||
# new path for nix 2.14
|
||||
echo "$HOME/.local/state/nix/profile/bin" >> "$GITHUB_PATH"
|
||||
|
||||
|
||||
if [[ $INPUT_NIX_PATH != "" ]]; then
|
||||
echo "NIX_PATH=${INPUT_NIX_PATH}" >> "$GITHUB_ENV"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue