From c664ef31269eaab8f4e5c11fd0a4b3b00703d86c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Mon, 8 Nov 2021 10:36:25 -0600 Subject: [PATCH] fix #97: install nix config correctly for single-user- mode --- lib/install-nix.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/install-nix.sh b/lib/install-nix.sh index 739c37a..6049a04 100755 --- a/lib/install-nix.sh +++ b/lib/install-nix.sh @@ -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