dotfiles/.woodpecker/test.yml
2022-12-25 17:36:10 +00:00

15 lines
No EOL
457 B
YAML

pipeline:
check:
image: nixpkgs/nix-flakes:latest
pull: true
commands:
- mkdir -p ~/.config/nix
- echo "store = /var/build-nix-store" >> /etc/nix/nix.conf
- echo "sandbox = false" >> /etc/nix/nix.conf
- cat /etc/nix/nix.conf
- time nix flake metadata
- time nix --no-sandbox develop -c statix check
- time nix flake check
volumes:
- /var/lib/woodpecker/nix-store:/var/build-nix-store