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 <noreply@anthropic.com>
This commit is contained in:
parent
c0e29476f3
commit
e49d966229
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue