mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-21 16:10:52 +00:00
install-nix.sh: ensure user profile comes before default profile in PATH
This commit is contained in:
parent
c5300121f7
commit
3acf7e1fab
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue