components: drop celery, package manage.py instead
This commit is contained in:
parent
8edfcf318a
commit
d85dacb6c2
5 changed files with 21 additions and 18 deletions
16
components/manage.nix
Normal file
16
components/manage.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ authentik-src
|
||||
, authentikComponents
|
||||
, makeWrapper
|
||||
, runCommandLocal
|
||||
}:
|
||||
|
||||
runCommandLocal "authentik-manage" {
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
} ''
|
||||
mkdir -vp $out/bin
|
||||
cp -v ${authentik-src}/manage.py $out/bin/manage.py
|
||||
|
||||
wrapProgram $out/bin/manage.py \
|
||||
--prefix PATH : ${authentikComponents.pythonEnv}/bin \
|
||||
--prefix PYTHONPATH : ${authentikComponents.staticWorkdirDeps}
|
||||
''
|
||||
Loading…
Add table
Add a link
Reference in a new issue