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

fix typo in github_access_token option #153

Merged
merged 1 commit into from Jan 19, 2023

Conversation

InternetUnexplorer
Copy link
Contributor

add_config only takes one argument, not two. This will cause an error when using github_access_token:

error: illegal configuration line 'access-tokens' in '/etc/nix/nix.conf'
Try 'nix-env --help' for more information.

This should (hopefully) fix that. On a sort of related note, the token passed to github_access_token will be overwritten if the user also includes access-tokens = ... in extra_nix_config (instead of merging the two); would it be worth making a PR to document this behavior in the README?

add_config only takes one argument; this was causing Nix to error with
"illegal configuration line 'access-tokens' in '/etc/nix/nix.conf'"
@domenkozar domenkozar merged commit 25d64bb into cachix:master Jan 19, 2023
@domenkozar
Copy link
Member

Documenting this would be great :)

@InternetUnexplorer
Copy link
Contributor Author

Okay, I made #156 :)

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.

None yet

2 participants