disable sandboxing in ci builds

This commit is contained in:
Cyryl Płotnicki 2022-12-25 16:59:43 +00:00
parent 60242fe829
commit 95790e956f
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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