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