mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-21 16:10:52 +00:00
Merge pull request #84 from mmlb/drop-unneeded-sudo
Drop unnecessary use of sudo when tee'ing nix.conf
This commit is contained in:
commit
018abf956a
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ fi
|
|||
|
||||
# Configure Nix
|
||||
add_config() {
|
||||
echo "$1" | sudo tee -a /tmp/nix.conf >/dev/null
|
||||
echo "$1" | tee -a /tmp/nix.conf >/dev/null
|
||||
}
|
||||
# Set jobs to number of cores
|
||||
add_config "max-jobs = auto"
|
||||
|
|
Loading…
Reference in a new issue