Skip to content

Commit 9d24e62

Browse files
authored
Merge pull request #130 from ncfavier/user-profile
install-nix.sh: ensure user profile comes before default profile in PATH
2 parents 1f78d39 + 3acf7e1 commit 9d24e62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/install-nix.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ if [[ $OSTYPE =~ darwin ]]; then
7878
fi
7979

8080
# Set paths
81-
echo "/nix/var/nix/profiles/per-user/$USER/profile/bin" >> "$GITHUB_PATH"
8281
echo "/nix/var/nix/profiles/default/bin" >> "$GITHUB_PATH"
82+
echo "/nix/var/nix/profiles/per-user/$USER/profile/bin" >> "$GITHUB_PATH"
8383

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

0 commit comments

Comments
 (0)