Skip to content

Commit

Permalink
Support new Nix 2.14 profile PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Mar 1, 2023
1 parent b15708f commit 3755e30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install-nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3755e30

Please sign in to comment.