Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install-nix.sh: ensure user profile comes before default profile in PATH #130

Merged
merged 1 commit into from
Mar 30, 2022

Conversation

ncfavier
Copy link
Contributor

@ncfavier ncfavier commented Mar 25, 2022

Appending to $GITHUB_PATH prepends the path to PATH, so we need to reverse the order to make sure the user-installed nix comes before the action-installed nix.

(I am aware of the install_url trick, but sometimes using nix-env is preferable.)

@domenkozar domenkozar merged commit 9d24e62 into cachix:master Mar 30, 2022
@ncfavier ncfavier deleted the user-profile branch March 30, 2022 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants