Skip to content

Commit 5e9c736

Browse files
committed
[ci] Workaround a broken nix installation in the container
Signed-off-by: Douglas Reis <[email protected]>
1 parent f2e3ea4 commit 5e9c736

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@ jobs:
126126
project_id: lowrisc-cloud-compute
127127
workload_identity_provider: projects/281751345158/locations/global/workloadIdentityPools/github-actions/providers/github-actions
128128
- uses: google-github-actions/setup-gcloud@v2
129+
130+
# This step is a workaround and should be removed when the container is fixed.
131+
- name: Uninstall Nix
132+
run: |
133+
sudo rm -rf /etc/nix /etc/profile.d/nix.sh /etc/tmpfiles.d/nix-daemon.conf \
134+
/nix ~root/.nix-channels ~root/.nix-defexpr ~root/.nix-profile ~root/.cache/nix
129135
130136
- name: Install Nix
131137
uses: cachix/install-nix-action@v27

0 commit comments

Comments
 (0)