From 3fb20f66e6fdd52bacdfefb152eaedc205f53e48 Mon Sep 17 00:00:00 2001 From: cy Date: Sun, 19 Jan 2025 21:20:48 -0500 Subject: [PATCH] root should own /nix before we install nix --- .github/workflows/build-and-cache.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-and-cache.yml b/.github/workflows/build-and-cache.yml index f3c29e3..da63c6b 100644 --- a/.github/workflows/build-and-cache.yml +++ b/.github/workflows/build-and-cache.yml @@ -53,6 +53,7 @@ jobs: remove-codeql: 'true' remove-docker-images: 'true' build-mount-path: /nix + - run: sudo chown root:root /nix - uses: DeterminateSystems/nix-installer-action@main with: logger: pretty @@ -92,6 +93,7 @@ jobs: remove-codeql: 'true' remove-docker-images: 'true' build-mount-path: /nix + - run: sudo chown root:root /nix - uses: DeterminateSystems/nix-installer-action@main with: logger: pretty