mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-24 09:28:04 +00:00
Merge pull request #130 from ncfavier/user-profile
install-nix.sh: ensure user profile comes before default profile in PATH
This commit is contained in:
commit
9d24e62654
1 changed files with 1 additions and 1 deletions
|
@ -78,8 +78,8 @@ if [[ $OSTYPE =~ darwin ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set paths
|
# 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/default/bin" >> "$GITHUB_PATH"
|
||||||
|
echo "/nix/var/nix/profiles/per-user/$USER/profile/bin" >> "$GITHUB_PATH"
|
||||||
|
|
||||||
if [[ $INPUT_NIX_PATH != "" ]]; then
|
if [[ $INPUT_NIX_PATH != "" ]]; then
|
||||||
echo "NIX_PATH=${INPUT_NIX_PATH}" >> "$GITHUB_ENV"
|
echo "NIX_PATH=${INPUT_NIX_PATH}" >> "$GITHUB_ENV"
|
||||||
|
|
Loading…
Reference in a new issue