try to configure store for the duration of the build
This commit is contained in:
parent
1052ee25ce
commit
fc955dc923
1 changed files with 4 additions and 2 deletions
|
@ -4,8 +4,10 @@ pipeline:
|
|||
image: nixpkgs/nix-flakes:latest
|
||||
pull: true
|
||||
commands:
|
||||
- mkdir -p ~/.config/nix
|
||||
- echo "store = /var/build-nix-store" >> ~/.config/nix/nix.conf
|
||||
- time nix flake metadata
|
||||
- time nix --no-sandbox develop --eval-store /var/build-nix-store -c statix check
|
||||
- time nix flake check --eval-store /var/build-nix-store
|
||||
- time nix --no-sandbox develop -c statix check
|
||||
- time nix flake check
|
||||
volumes:
|
||||
- /var/lib/woodpecker/nix-store:/var/build-nix-store
|
Loading…
Reference in a new issue