Merge pull request #247908 from elohmeier/paperless-ngx-darwin

paperless-ngx: fix build on Darwin

authored by

Weijia Wang and committed by
GitHub
e5028852 5bf1eb88

+7 -1
+7 -1
pkgs/applications/office/paperless-ngx/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , fetchFromGitHub 3 4 , buildNpmPackage 4 5 , nixosTests ··· 14 15 , unpaper 15 16 , poppler_utils 16 17 , liberation_ttf 18 + , xcbuild 17 19 }: 18 20 19 21 let ··· 53 55 54 56 nativeBuildInputs = [ 55 57 python3 58 + ] ++ lib.optionals stdenv.isDarwin [ 59 + xcbuild 56 60 ]; 57 61 58 62 postPatch = '' ··· 279 283 "testNormalOperation" 280 284 ]; 281 285 286 + doCheck = !stdenv.isDarwin; 287 + 282 288 passthru = { 283 289 inherit python path frontend; 284 290 tests = { inherit (nixosTests) paperless; }; ··· 289 295 homepage = "https://docs.paperless-ngx.com/"; 290 296 changelog = "https://github.com/paperless-ngx/paperless-ngx/releases/tag/v${version}"; 291 297 license = licenses.gpl3Only; 292 - platforms = platforms.linux; 298 + platforms = platforms.unix; 293 299 maintainers = with maintainers; [ lukegb gador erikarvstedt leona ]; 294 300 }; 295 301 }