Skip to content

Commit

Permalink
fix typo in github_access_token option
Browse files Browse the repository at this point in the history
add_config only takes one argument; this was causing Nix to error with
"illegal configuration line 'access-tokens' in '/etc/nix/nix.conf'"
  • Loading branch information
InternetUnexplorer committed Jan 8, 2023
1 parent b15708f commit b95f682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ add_config "max-jobs = auto"
add_config "trusted-users = root $USER"
# Add github access token
if [[ $INPUT_GITHUB_ACCESS_TOKEN != "" ]]; then
add_config "access-tokens" "github.com=$INPUT_GITHUB_ACCESS_TOKEN"
add_config "access-tokens = github.com=$INPUT_GITHUB_ACCESS_TOKEN"
fi
# Append extra nix configuration if provided
if [[ $INPUT_EXTRA_NIX_CONFIG != "" ]]; then
Expand Down

0 comments on commit b95f682

Please sign in to comment.