diff --git a/install-nix.sh b/install-nix.sh index b2d254f..fbe0d15 100755 --- a/install-nix.sh +++ b/install-nix.sh @@ -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"