mirror of
https://github.com/cachix/install-nix-action.git
synced 2025-06-07 17:44:28 +00:00
export new path
This commit is contained in:
parent
193b0d85f5
commit
90a97c60ab
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue