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, not two. This will cause an error when usinggithub_access_token
: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 includesaccess-tokens = ...
inextra_nix_config
(instead of merging the two); would it be worth making a PR to document this behavior in the README?