Skip to content

Commit b95f682

Browse files
fix typo in github_access_token option
add_config only takes one argument; this was causing Nix to error with "illegal configuration line 'access-tokens' in '/etc/nix/nix.conf'"
1 parent b15708f commit b95f682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install-nix.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ add_config "max-jobs = auto"
2323
add_config "trusted-users = root $USER"
2424
# Add github access token
2525
if [[ $INPUT_GITHUB_ACCESS_TOKEN != "" ]]; then
26-
add_config "access-tokens" "github.com=$INPUT_GITHUB_ACCESS_TOKEN"
26+
add_config "access-tokens = github.com=$INPUT_GITHUB_ACCESS_TOKEN"
2727
fi
2828
# Append extra nix configuration if provided
2929
if [[ $INPUT_EXTRA_NIX_CONFIG != "" ]]; then

0 commit comments

Comments
 (0)