enable experimental flakes
Some checks failed
CI pipeline for ffd-indexer / checks (go test + golangci) (push) Successful in 2m22s
CI pipeline for ffd-indexer / build binaries + containers (push) Successful in 6m16s
CI pipeline for ffd-indexer / format (gofmt + nixfmt) (push) Failing after 1m27s
CI pipeline for ffd-indexer / integration (live scrape + Typesense) (push) Failing after 7m36s

This commit is contained in:
Ricardo (XenGi) Band 2026-10-01 00:40:56 +02:00
commit 48e241d79a
No known key found for this signature in database
2 changed files with 12 additions and 0 deletions

View file

@ -11,6 +11,9 @@ jobs:
checks:
name: checks (go test + golangci)
runs-on: debian-stable
env:
# nixos/nix:latest does not enable flakes/experimental features by default.
NIX_CONFIG: experimental-features = nix-command flakes
container:
image: nixos/nix:latest
steps:
@ -29,6 +32,8 @@ jobs:
build:
name: build binaries + containers
runs-on: debian-stable
env:
NIX_CONFIG: experimental-features = nix-command flakes
container:
image: nixos/nix:latest
steps:
@ -47,6 +52,8 @@ jobs:
format:
name: format (gofmt + nixfmt)
runs-on: debian-stable
env:
NIX_CONFIG: experimental-features = nix-command flakes
container:
image: nixos/nix:latest
steps:
@ -81,6 +88,8 @@ jobs:
integration:
name: integration (live scrape + Typesense)
runs-on: debian-stable
env:
NIX_CONFIG: experimental-features = nix-command flakes
container:
image: nixos/nix:latest
services:

View file

@ -13,6 +13,9 @@ jobs:
# Forgejo does not auto-expose secrets as env vars; map it explicitly
# so the whole step (including the inner heredoc) can read it.
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
# nixos/nix:latest does not enable flakes/experimental features by default;
# the heredoc steps run `nix build`/`nix develop` and need them.
NIX_CONFIG: experimental-features = nix-command flakes
container:
image: nixos/nix:latest
steps: