2022-12-03 16:29:14 +00:00
|
|
|
pipeline:
|
|
|
|
|
|
|
|
check:
|
|
|
|
image: nixpkgs/nix-flakes:latest
|
|
|
|
pull: true
|
|
|
|
commands:
|
2022-12-25 16:36:22 +00:00
|
|
|
- mkdir -p ~/.config/nix
|
|
|
|
- echo "store = /var/build-nix-store" >> ~/.config/nix/nix.conf
|
2022-12-21 15:07:53 +00:00
|
|
|
- time nix flake metadata
|
2022-12-25 16:36:22 +00:00
|
|
|
- time nix --no-sandbox develop -c statix check
|
|
|
|
- time nix flake check
|
2022-12-21 20:11:47 +00:00
|
|
|
volumes:
|
|
|
|
- /var/lib/woodpecker/nix-store:/var/build-nix-store
|