From 95790e956f30f7f5979e34b668a5b8c76ce772f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 25 Dec 2022 16:59:43 +0000 Subject: [PATCH] disable sandboxing in ci builds --- .woodpecker/sync.yml | 1 + .woodpecker/test.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.woodpecker/sync.yml b/.woodpecker/sync.yml index 8723a6af..2f4eaa9a 100644 --- a/.woodpecker/sync.yml +++ b/.woodpecker/sync.yml @@ -6,6 +6,7 @@ pipeline: commands: - mkdir -p ~/.config/nix - echo "store = /var/build-nix-store" >> ~/.config/nix/nix.conf + - echo "sandbox = false" >> ~/.config/nix/nix.conf - nix develop -c git lfs fetch --all - nix develop -c git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git - nix develop -c git push github --all --force diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 5aafd270..85f3bc9c 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -6,6 +6,7 @@ pipeline: commands: - mkdir -p ~/.config/nix - echo "store = /var/build-nix-store" >> ~/.config/nix/nix.conf + - echo "sandbox = false" >> ~/.config/nix/nix.conf - time nix flake metadata - time nix --no-sandbox develop -c statix check - time nix flake check