Skip to content

Commit 3755e30

Browse files
committed
Support new Nix 2.14 profile PATH
1 parent b15708f commit 3755e30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

install-nix.sh

+2
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ fi
8787
# Set paths
8888
echo "/nix/var/nix/profiles/default/bin" >> "$GITHUB_PATH"
8989
echo "/nix/var/nix/profiles/per-user/$USER/profile/bin" >> "$GITHUB_PATH"
90+
# new path for nix 2.14
91+
echo "$HOME/.nix-profile/bin" >> "$GITHUB_PATH"
9092

9193
if [[ $INPUT_NIX_PATH != "" ]]; then
9294
echo "NIX_PATH=${INPUT_NIX_PATH}" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)