nixos/paperless: use python from pkg for gunicorn
This ensures that a compatible `gunicorn` is used when `pkg` is overridden.
This commit is contained in:
parent
71bd9f638c
commit
fdead18e9e
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ in
|
|||
serviceConfig = defaultServiceConfig // {
|
||||
User = cfg.user;
|
||||
ExecStart = ''
|
||||
${pkgs.python3Packages.gunicorn}/bin/gunicorn \
|
||||
${pkg.python.pkgs.gunicorn}/bin/gunicorn \
|
||||
-c ${pkg}/lib/paperless-ngx/gunicorn.conf.py paperless.asgi:application
|
||||
'';
|
||||
Restart = "on-failure";
|
||||
|
|
Loading…
Reference in a new issue