From 659a73e38ca59a9973d27c48aa4062ccd5a48bf8 Mon Sep 17 00:00:00 2001 From: Ezri Zhu Date: Thu, 12 Dec 2024 21:31:32 -0500 Subject: [PATCH] fix unshare perms on nix --- .github/workflows/test.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2f8c037..5134f07 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -198,6 +198,10 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} + - name: Allow unprivileged user namespaces (for Ubuntu 24.04) + run: | + sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0 + - name: Install Nix uses: DeterminateSystems/nix-installer-action@main