From e49d966229efbacb6f7e5fb8322174d1bf24ba8c Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Sun, 1 Mar 2026 15:55:26 -0800 Subject: [PATCH] Fix authentik: symlink authentik/ for BASE_DIR resolution Django's BASE_DIR is $out but source lives in site-packages. Code like BASE_DIR / "authentik" / "sources" / "scim" / "schemas" / ... needs a top-level symlink to find data files alongside Python source. Co-Authored-By: Claude Opus 4.6 --- containers/authentik/authentik-django.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/containers/authentik/authentik-django.nix b/containers/authentik/authentik-django.nix index eb07abd..789edbf 100644 --- a/containers/authentik/authentik-django.nix +++ b/containers/authentik/authentik-django.nix @@ -142,6 +142,7 @@ pkgs.stdenv.mkDerivation { # --- Top-level structure --- ln -s ${sp}/lifecycle $out/lifecycle + ln -s ${sp}/authentik $out/authentik cp -r blueprints $out/blueprints cp manage.py $out/manage.py