diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2024-05-03 17:40:55 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2024-05-03 17:40:55 +0200 |
commit | d5537cdf0be205259eba5be6ad240e5d2190f162 (patch) | |
tree | 16a95d5c43490825c9b500a5f63674e31ea0a390 /pkgs/applications/office | |
parent | eba1ebd6095dc1552a7708ed55070cc788e4a835 (diff) |
paperless-ngx: add missing runHooks
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/paperless-ngx/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/office/paperless-ngx/default.nix b/pkgs/applications/office/paperless-ngx/default.nix index 554aeb588ef7b..808b04f3a329b 100644 --- a/pkgs/applications/office/paperless-ngx/default.nix +++ b/pkgs/applications/office/paperless-ngx/default.nix @@ -190,6 +190,8 @@ python.pkgs.buildPythonApplication rec { installPhase = let pythonPath = python.pkgs.makePythonPath propagatedBuildInputs; in '' + runHook preInstall + mkdir -p $out/lib/paperless-ngx cp -r {src,static,LICENSE,gunicorn.conf.py} $out/lib/paperless-ngx ln -s ${frontend}/lib/paperless-ui/frontend $out/lib/paperless-ngx/static/ @@ -200,6 +202,8 @@ python.pkgs.buildPythonApplication rec { makeWrapper ${python.pkgs.celery}/bin/celery $out/bin/celery \ --prefix PYTHONPATH : "${pythonPath}:$out/lib/paperless-ngx/src" \ --prefix PATH : "${path}" + + runHook postInstall ''; postFixup = '' |