python3Packages.adios2: link against installed libraries

This commit is contained in:
qbisi
2026-01-24 06:29:49 +08:00
parent e6b75d349e
commit 731151b014
+5
View File
@@ -183,6 +183,11 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeFeature "CMAKE_INSTALL_PYTHONDIR" python3Packages.python.sitePackages)
];
# python binding libraries should be linked against installed libraries
preInstall = lib.optionalString pythonSupport ''
export adios2_DIR=$out/lib/cmake/adios2
'';
# Tests are time-consuming and moved to passthru.tests.withCheck.
doCheck = false;
dontUseNinjaCheck = true;