conduit: use lib.cmakeFeature for CMAKE_SYSTEM_VERSION

Use lib.cmakeFeature instead of plain string for consistency with other cmake flags.
This commit is contained in:
Dave Walker
2025-10-11 15:29:51 +01:00
parent 0e05b39478
commit 0ea3da2861

View File

@@ -37,7 +37,7 @@ stdenv.mkDerivation (finalAttrs: {
cmakeFlags = [
# Don't leak kernel version into the build output for reproducibility
"-DCMAKE_SYSTEM_VERSION="
(lib.cmakeFeature "CMAKE_SYSTEM_VERSION" "")
(lib.cmakeBool "ENABLE_MPI" mpiSupport)
];