Use pkg-config instead of papi_version_check

This commit is contained in:
2025-12-09 14:16:19 +01:00
parent 1e36c3b204
commit fad79643fa
4 changed files with 138 additions and 5 deletions

View File

@@ -96,17 +96,14 @@ in
separateDebugInfo = true;
strictDeps = true;
patches = [ ./check-papi-version-with-pkgconfig.patch ];
nativeBuildInputs = [
autoconf
automake
libtool
pkg-config
# TODO: papi_version is needed for configure:
# ./configure: line 27378: papi_version: command not found
# This probably breaks cross-compilation
] ++ lib.optionals enablePapi [ papi ];
];
buildInputs = [
boost