liborcus: fix cross and enable tests (#380041)
This commit is contained in:
@@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
python3.pythonOnBuildForHost
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@@ -35,6 +36,26 @@ 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";
|
||||
homepage = "https://gitlab.com/orcus/orcus";
|
||||
|
||||
Reference in New Issue
Block a user