Skip to content

Commit

Permalink
install-nix.sh: ensure user profile comes before default profile in PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
ncfavier authored Mar 25, 2022
1 parent c530012 commit 3acf7e1
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 3acf7e1

Please sign in to comment.