Skip to content

fix typo in github_access_token option#153

Merged
domenkozar merged 1 commit intocachix:masterfrom
InternetUnexplorer:master
Jan 19, 2023
Merged

fix typo in github_access_token option#153
domenkozar merged 1 commit intocachix:masterfrom
InternetUnexplorer:master

Conversation

@InternetUnexplorer
Copy link
Copy Markdown
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
Copy Markdown
Member

Documenting this would be great :)

@InternetUnexplorer
Copy link
Copy Markdown
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.

2 participants