Skip to content

Commit c664ef3

Browse files
committed
fix #97: install nix config correctly for single-user- mode
1 parent 74ef8ad commit c664ef3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/install-nix.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ if [[ $OSTYPE =~ darwin || -e /run/systemd/system ]]; then
3838
else
3939
# "fix" the following error when running nix*
4040
# error: the group 'nixbld' specified in 'build-users-group' does not exist
41-
mkdir -m 0755 /etc/nix
42-
echo "build-users-group =" > /etc/nix/nix.conf
41+
add_config "build-users-group ="
4342
fi
4443

4544
if [[ $INPUT_INSTALL_OPTIONS != "" ]]; then

0 commit comments

Comments
 (0)