Skip to content

Commit

Permalink
Merge pull request #109 from cachix/fix-97
Browse files Browse the repository at this point in the history
fix #97: install nix config correctly for single-user- mode
  • Loading branch information
domenkozar committed Nov 11, 2021
2 parents 74ef8ad + c664ef3 commit b93cdea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/install-nix.sh
Expand Up @@ -38,8 +38,7 @@ if [[ $OSTYPE =~ darwin || -e /run/systemd/system ]]; then
else
# "fix" the following error when running nix*
# error: the group 'nixbld' specified in 'build-users-group' does not exist
mkdir -m 0755 /etc/nix
echo "build-users-group =" > /etc/nix/nix.conf
add_config "build-users-group ="
fi

if [[ $INPUT_INSTALL_OPTIONS != "" ]]; then
Expand Down

0 comments on commit b93cdea

Please sign in to comment.