paperless-ngx: Reduce output size
By dropping the tests and its assets we further reduce the output size from 23M to just 8.4M.
This commit is contained in:
@@ -266,6 +266,11 @@ python.pkgs.buildPythonApplication rec {
|
||||
--prefix PATH : "${path}"
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
# Remove tests with samples (~14M)
|
||||
find $out/lib/paperless-ngx -type d -name tests -exec rm -rv {} +
|
||||
'';
|
||||
|
||||
nativeCheckInputs = with python.pkgs; [
|
||||
factory_boy
|
||||
imagehash
|
||||
|
||||
Reference in New Issue
Block a user