Skip to content

Commit 05c2d3c

Browse files
committed
[ci] Workarround a broken nix installation in the container
Signed-off-by: Douglas Reis <[email protected]>
1 parent a2001f2 commit 05c2d3c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ jobs:
119119
project_id: lowrisc-cloud-compute
120120
workload_identity_provider: projects/281751345158/locations/global/workloadIdentityPools/github-actions/providers/github-actions
121121
- uses: google-github-actions/setup-gcloud@v2
122+
123+
- name: Unistall Nix
124+
run: |
125+
sudo rm -rf /etc/nix /etc/profile.d/nix.sh /etc/tmpfiles.d/nix-daemon.conf \
126+
/nix ~root/.nix-channels ~root/.nix-defexpr ~root/.nix-profile ~root/.cache/nix
122127
123128
- name: Install Nix
124129
uses: cachix/install-nix-action@v27

0 commit comments

Comments
 (0)