buildGoModule derivation for cmd/server with: - apiGoVendorHook for generated Go API client injection - substituteInPlace patches for lifecycle (authentik-django) and web asset paths (3 files: gounicorn.go, web/static.go, internal/web/static.go) - overrideModAttrs.postPatch="" to keep vendorHash stable - Parameterized webui input with placeholder for pre-webui-derivation builds - CGO_ENABLED=0, binary renamed from server to authentik - Verified on ringtail: builds in ~32s, --help works Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api-go-vendor-hook.nix | ||
| authentik-django.nix | ||
| authentik-server.nix | ||
| client-go.nix | ||
| client-ts.nix | ||
| default.nix | ||
| python-deps.nix | ||
| sources.nix | ||
| test-build.nix | ||