Merge pull request #132 from lovesegfault/fix-nix-conf-copy

fix: use sudo to place /etc/nix/nix.conf
This commit is contained in:
Domen Kožar 2022-03-30 09:41:33 +01:00 committed by GitHub
commit 1f78d3968e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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