ovni: fix cross compilation

Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
This commit is contained in:
Aleix Boné 2024-10-24 16:24:16 +02:00 committed by Rodrigo Arias Mallo
parent 3eff2662bb
commit aa3f816388

View File

@ -43,7 +43,7 @@ in
postPatch = ''
patchShebangs --build test/
'';
buildInputs = [ cmake mpi ];
nativeBuildInputs = [ cmake mpi ];
cmakeBuildType = if (enableDebug) then "Debug" else "Release";
cmakeFlags = [ "-DOVNI_GIT_COMMIT=${src.shortRev}" ];
preCheck = ''