disable sandboxing in ci builds
This commit is contained in:
parent
60242fe829
commit
95790e956f
2 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,7 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p ~/.config/nix
|
- mkdir -p ~/.config/nix
|
||||||
- echo "store = /var/build-nix-store" >> ~/.config/nix/nix.conf
|
- 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 lfs fetch --all
|
||||||
- nix develop -c git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
|
- nix develop -c git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
|
||||||
- nix develop -c git push github --all --force
|
- nix develop -c git push github --all --force
|
||||||
|
|
|
@ -6,6 +6,7 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p ~/.config/nix
|
- mkdir -p ~/.config/nix
|
||||||
- echo "store = /var/build-nix-store" >> ~/.config/nix/nix.conf
|
- echo "store = /var/build-nix-store" >> ~/.config/nix/nix.conf
|
||||||
|
- echo "sandbox = false" >> ~/.config/nix/nix.conf
|
||||||
- time nix flake metadata
|
- time nix flake metadata
|
||||||
- time nix --no-sandbox develop -c statix check
|
- time nix --no-sandbox develop -c statix check
|
||||||
- time nix flake check
|
- time nix flake check
|
||||||
|
|
Loading…
Reference in a new issue