Skip to content

Commit

Permalink
fix #97: install nix config correctly for single-user- mode
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Nov 8, 2021
1 parent 74ef8ad commit c664ef3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/install-nix.sh
Original file line number Diff line number Diff line change
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 c664ef3

Please sign in to comment.