re-add nix checks

This commit is contained in:
Cyryl Płotnicki 2022-12-25 22:58:11 +00:00
parent 84c32e5555
commit de32244df2

View file

@ -4,12 +4,10 @@ pipeline:
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
- export AWS_ACCESS_KEY_ID="nix-builder"
- export AWS_SECRET_ACCESS_KEY="$MINIO_NIX_BUILDER_KEY"
- nix copy --all --to 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https&region=cyplodev'
secrets: [ minio_nix_builder_key ]