mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-12-22 15:03:28 +00:00
Support new Nix 2.14 profile PATH
This commit is contained in:
parent
b15708fdde
commit
3755e30bd2
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,8 @@ fi
|
|||
# Set paths
|
||||
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/.nix-profile/bin" >> "$GITHUB_PATH"
|
||||
|
||||
if [[ $INPUT_NIX_PATH != "" ]]; then
|
||||
echo "NIX_PATH=${INPUT_NIX_PATH}" >> "$GITHUB_ENV"
|
||||
|
|
Loading…
Reference in a new issue