From b4b3518aa1e96466a374c80ab6fd6ba6381087fe Mon Sep 17 00:00:00 2001 From: Douglas Reis Date: Wed, 10 Dec 2025 10:31:13 +0000 Subject: [PATCH] [ci] Workaround a broken nix installation in the container Signed-off-by: Douglas Reis --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f21ad094c..bf0b73feb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -126,6 +126,12 @@ jobs: project_id: lowrisc-cloud-compute workload_identity_provider: projects/281751345158/locations/global/workloadIdentityPools/github-actions/providers/github-actions - uses: google-github-actions/setup-gcloud@v2 + + # This step is a workaround and should be removed when the container is fixed. + - name: Uninstall Nix + run: | + sudo rm -rf /etc/nix /etc/profile.d/nix.sh /etc/tmpfiles.d/nix-daemon.conf \ + /nix ~root/.nix-channels ~root/.nix-defexpr ~root/.nix-profile ~root/.cache/nix - name: Install Nix uses: cachix/install-nix-action@v27