Loading pkgs/by-name/un/unpaper/package.nix +16 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ # tests nixosTests, python3Packages, }: stdenv.mkDerivation (finalAttrs: { Loading Loading @@ -45,6 +46,21 @@ stdenv.mkDerivation (finalAttrs: { ffmpeg-headless ]; nativeCheckInputs = with python3Packages; [ pytest pytest-xdist pillow ]; doCheck = true; # Tests take quite a long time # Using pytest-xdist, we launch multiple workers # Restrict to max 6 to avoid having a large number of idlers preCheck = '' mesonCheckFlagsArray+=(--test-args "--numprocesses=auto --maxprocesses=6") ''; passthru.tests = { inherit (nixosTests) paperless; }; Loading Loading
pkgs/by-name/un/unpaper/package.nix +16 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ # tests nixosTests, python3Packages, }: stdenv.mkDerivation (finalAttrs: { Loading Loading @@ -45,6 +46,21 @@ stdenv.mkDerivation (finalAttrs: { ffmpeg-headless ]; nativeCheckInputs = with python3Packages; [ pytest pytest-xdist pillow ]; doCheck = true; # Tests take quite a long time # Using pytest-xdist, we launch multiple workers # Restrict to max 6 to avoid having a large number of idlers preCheck = '' mesonCheckFlagsArray+=(--test-args "--numprocesses=auto --maxprocesses=6") ''; passthru.tests = { inherit (nixosTests) paperless; }; Loading