mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-24 09:28:04 +00:00
fix #97: install nix config correctly for single-user- mode
This commit is contained in:
parent
74ef8ad2cf
commit
c664ef3126
1 changed files with 1 additions and 2 deletions
|
@ -38,8 +38,7 @@ if [[ $OSTYPE =~ darwin || -e /run/systemd/system ]]; then
|
||||||
else
|
else
|
||||||
# "fix" the following error when running nix*
|
# "fix" the following error when running nix*
|
||||||
# error: the group 'nixbld' specified in 'build-users-group' does not exist
|
# error: the group 'nixbld' specified in 'build-users-group' does not exist
|
||||||
mkdir -m 0755 /etc/nix
|
add_config "build-users-group ="
|
||||||
echo "build-users-group =" > /etc/nix/nix.conf
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $INPUT_INSTALL_OPTIONS != "" ]]; then
|
if [[ $INPUT_INSTALL_OPTIONS != "" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue