liborcus: enable tests and parallel builds

This commit is contained in:
Sergei Zimmerman
2025-02-07 12:34:56 +03:00
parent cddf3efbe9
commit ee6ca62b12
+18
View File
@@ -36,7 +36,25 @@ stdenv.mkDerivation rec {
zlib
];
preCheck =
''
patchShebangs test/python
''
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}${
lib.concatMapStringsSep ":" (d: "$(pwd)/src/${d}/.libs") [
"liborcus"
"parser"
"python"
"spreadsheet"
]
}
'';
strictDeps = true;
doCheck = true;
enableParallelBuilding = true;
enableParallelChecking = true;
meta = with lib; {
description = "Collection of parsers and import filters for spreadsheet documents";