Skip to content

Commit

Permalink
Merge pull request #130 from ncfavier/user-profile
Browse files Browse the repository at this point in the history
install-nix.sh: ensure user profile comes before default profile in PATH
  • Loading branch information
domenkozar committed Mar 30, 2022
2 parents 1f78d39 + 3acf7e1 commit 9d24e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/install-nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ if [[ $OSTYPE =~ darwin ]]; then
fi

# Set paths
echo "/nix/var/nix/profiles/per-user/$USER/profile/bin" >> "$GITHUB_PATH"
echo "/nix/var/nix/profiles/default/bin" >> "$GITHUB_PATH"
echo "/nix/var/nix/profiles/per-user/$USER/profile/bin" >> "$GITHUB_PATH"

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

0 comments on commit 9d24e62

Please sign in to comment.