try sharing nix store between builds
This commit is contained in:
parent
6a8b1eae71
commit
fcd0adc6ad
2 changed files with 4 additions and 0 deletions
|
@ -9,3 +9,5 @@ pipeline:
|
||||||
- nix --no-sandbox develop --eval-store ./nix-store -c git lfs fetch --all
|
- nix --no-sandbox develop --eval-store ./nix-store -c git lfs fetch --all
|
||||||
- nix --no-sandbox develop --eval-store ./nix-store -c git push github --all --force
|
- nix --no-sandbox develop --eval-store ./nix-store -c git push github --all --force
|
||||||
secrets: [ github_token ]
|
secrets: [ github_token ]
|
||||||
|
volumes:
|
||||||
|
- /var/lib/woodpecker/nix-store/:/nix/store
|
||||||
|
|
|
@ -8,3 +8,5 @@ pipeline:
|
||||||
- nix --no-sandbox develop --eval-store ./nix-store -c statix check ./nixos
|
- nix --no-sandbox develop --eval-store ./nix-store -c statix check ./nixos
|
||||||
- nix --no-sandbox flake check --eval-store ./nix-store
|
- nix --no-sandbox flake check --eval-store ./nix-store
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- /var/lib/woodpecker/nix-store/:/nix/store
|
||||||
|
|
Loading…
Reference in a new issue