Skip to content

Commit

Permalink
Merge pull request #125 from lovesegfault/master
Browse files Browse the repository at this point in the history
fix(lib/install-nix): use elevated privileges to create /etc/nix
  • Loading branch information
domenkozar committed Mar 23, 2022
2 parents b2b9fc6 + 8ae0a9f commit c530012
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/install-nix.sh
Expand Up @@ -43,7 +43,8 @@ else
# "fix" the following error when running nix*
# error: the group 'nixbld' specified in 'build-users-group' does not exist
add_config "build-users-group ="
mkdir -m 0755 /etc/nix
sudo mkdir -p /etc/nix
sudo chmod 0755 /etc/nix
cp $workdir/nix.conf /etc/nix/nix.conf
fi

Expand Down

0 comments on commit c530012

Please sign in to comment.