re-add nix checks
This commit is contained in:
parent
84c32e5555
commit
de32244df2
1 changed files with 4 additions and 6 deletions
|
@ -4,12 +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" >> /etc/nix/nix.conf
|
|
||||||
- echo "sandbox = false" >> /etc/nix/nix.conf
|
|
||||||
- cat /etc/nix/nix.conf
|
|
||||||
- time nix flake metadata
|
- time nix flake metadata
|
||||||
- time nix --no-sandbox develop -c statix check
|
- time nix --no-sandbox develop -c statix check
|
||||||
- time nix flake check
|
- time nix flake check
|
||||||
volumes:
|
- export AWS_ACCESS_KEY_ID="nix-builder"
|
||||||
- /var/lib/woodpecker/nix-store:/var/build-nix-store
|
- export AWS_SECRET_ACCESS_KEY="$MINIO_NIX_BUILDER_KEY"
|
||||||
|
- nix copy --all --to 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https®ion=cyplodev'
|
||||||
|
secrets: [ minio_nix_builder_key ]
|
||||||
|
|
Loading…
Reference in a new issue