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
|
image: nixpkgs/nix-flakes:latest
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
|
- mkdir -p ~/.config/nix
|
||||||
|
- echo "store = /var/build-nix-store" >> ~/.config/nix/nix.conf
|
||||||
- time nix flake metadata
|
- time nix flake metadata
|
||||||
- time nix --no-sandbox develop --eval-store /var/build-nix-store -c statix check
|
- time nix --no-sandbox develop -c statix check
|
||||||
- time nix flake check --eval-store /var/build-nix-store
|
- time nix flake check
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/woodpecker/nix-store:/var/build-nix-store
|
- /var/lib/woodpecker/nix-store:/var/build-nix-store
|
Loading…
Reference in a new issue