Merge pull request #109 from cachix/fix-97

fix #97: install nix config correctly for single-user- mode
This commit is contained in:
Domen Kožar 2021-11-11 16:19:39 -06:00 committed by GitHub
commit b93cdea694
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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