Skip to content

Commit

Permalink
Revert "try removing sudo"
Browse files Browse the repository at this point in the history
This reverts commit c1c9d87.
  • Loading branch information
sdankel committed Aug 15, 2023
1 parent c1c9d87 commit 9ecbc25
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
- if: matrix.os == 'macos-arm'
run: |
echo "trusted-users = root $USER" | tee -a /etc/nix/nix.conf
launchctl stop org.nixos.nix-daemon
launchctl start org.nixos.nix-daemon
echo "trusted-users = root $USER" | sudo tee -a /etc/nix/nix.conf
sudo launchctl stop org.nixos.nix-daemon
sudo launchctl start org.nixos.nix-daemon
- uses: cachix/cachix-action@v12
with:
name: fuellabs
Expand All @@ -71,9 +71,9 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
- if: matrix.os == 'macos-arm'
run: |
echo "trusted-users = root $USER" | tee -a /etc/nix/nix.conf
launchctl stop org.nixos.nix-daemon
launchctl start org.nixos.nix-daemon
echo "trusted-users = root $USER" | sudo tee -a /etc/nix/nix.conf
sudo launchctl stop org.nixos.nix-daemon
sudo launchctl start org.nixos.nix-daemon
- uses: cachix/cachix-action@v12
with:
name: fuellabs
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/refresh-manifests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
- if: matrix.os == 'macos-arm'
run: |
echo "trusted-users = root $USER" | tee -a /etc/nix/nix.conf
launchctl stop org.nixos.nix-daemon
launchctl start org.nixos.nix-daemon
echo "trusted-users = root $USER" | sudo tee -a /etc/nix/nix.conf
sudo launchctl stop org.nixos.nix-daemon
sudo launchctl start org.nixos.nix-daemon
- uses: cachix/cachix-action@v12
with:
name: fuellabs
Expand Down Expand Up @@ -68,9 +68,9 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
- if: matrix.os == 'macos-arm'
run: |
echo "trusted-users = root $USER" | tee -a /etc/nix/nix.conf
launchctl stop org.nixos.nix-daemon
launchctl start org.nixos.nix-daemon
echo "trusted-users = root $USER" | sudo tee -a /etc/nix/nix.conf
sudo launchctl stop org.nixos.nix-daemon
sudo launchctl start org.nixos.nix-daemon
- uses: cachix/cachix-action@v12
with:
name: fuellabs
Expand Down

0 comments on commit 9ecbc25

Please sign in to comment.