Skip to content

Commit

Permalink
Merge pull request #132 from lovesegfault/fix-nix-conf-copy
Browse files Browse the repository at this point in the history
fix: use sudo to place /etc/nix/nix.conf
  • Loading branch information
domenkozar committed Mar 30, 2022
2 parents 106f85d + d59a4df commit 1f78d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/install-nix.sh
Expand Up @@ -45,7 +45,7 @@ else
add_config "build-users-group ="
sudo mkdir -p /etc/nix
sudo chmod 0755 /etc/nix
cp $workdir/nix.conf /etc/nix/nix.conf
sudo cp $workdir/nix.conf /etc/nix/nix.conf
fi

if [[ $INPUT_INSTALL_OPTIONS != "" ]]; then
Expand Down

0 comments on commit 1f78d39

Please sign in to comment.