mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-22 08:30:51 +00:00
Merge pull request #132 from lovesegfault/fix-nix-conf-copy
fix: use sudo to place /etc/nix/nix.conf
This commit is contained in:
commit
1f78d3968e
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ else
|
||||||
add_config "build-users-group ="
|
add_config "build-users-group ="
|
||||||
sudo mkdir -p /etc/nix
|
sudo mkdir -p /etc/nix
|
||||||
sudo chmod 0755 /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
|
fi
|
||||||
|
|
||||||
if [[ $INPUT_INSTALL_OPTIONS != "" ]]; then
|
if [[ $INPUT_INSTALL_OPTIONS != "" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue