C2: Build authentik from source (Mikado chain) #274
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "mikado/authentik-source-build"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Mikado Chain: build-authentik-from-source
Replace
pkgs.authentikfrom nixpkgs with a custom Nix derivation built from source.This removes the dependency on the nixpkgs packaging timeline and gives full version control.
Target version: 2025.12.4 (nixpkgs reference, upgrading from deployed 2025.10.1).
Dependency Graph
Ready Leaves
authentik-api-client-generation— Go + TypeScript client generation from OpenAPI schemaauthentik-python-backend-derivation— Django backend with 60+ deps, 4 in-tree packagesArchitecture
Ported from nixpkgs
pkgs/by-name/au/authentik/package.nix:source.nix— shared version/source fetchclient-go.nix— Go API client generationclient-ts.nix— TypeScript API client generationapi-go-vendor-hook.nix— Go vendor directory injection hookRelated Cards
@ -0,0 +6,4 @@packageName: apienumClassPrefix: trueuseOneOfDiscriminatorLookup: true+ disallowAdditionalPropertiesIfNotPresent: falseCan you please explain to me what this patch is for? It might merit a comment in client-go.nix as well.
@ -0,0 +4,4 @@{ fetchFromGitHub }:letversion = "2025.12.4";Ah no the whole point of this is to get the new version from 2026 that was released just a few days ago. If we've lost it in the process of starting this mikado chain, please update the card accordingly... we did some research and I believe the upgrade path is clear of blockers.
@ -0,0 +9,4 @@{inherit version;src = fetchFromGitHub {Woops, not github! Please use the forge mirror.
591d9dd958to2495ad01c6@ -0,0 +1,11 @@# Test harness for building authentik components on ringtailI dont think this needs to be in the pr; maybe in the mikado cards?
dff21536f9to75c7c5358a75c7c5358ato34bdf5a806e4b3b1202ftof750dd4365216f03eeb5to11995f8d4e405fe59bf7to6612c3febc