Patch shebangs in ovni runners

This commit is contained in:
Rodrigo Arias 2023-10-04 13:44:03 +02:00
parent 41a93cd176
commit 5412e14dba

View File

@ -38,6 +38,9 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ovni"; pname = "ovni";
inherit (source) src version; inherit (source) src version;
postPatch = ''
patchShebangs --build test/
'';
buildInputs = [ cmake mpi ]; buildInputs = [ cmake mpi ];
cmakeBuildType = if (enableDebug) then "Debug" else "Release"; cmakeBuildType = if (enableDebug) then "Debug" else "Release";
cmakeFlags = [ "-DOVNI_GIT_COMMIT=${src.shortRev}" ]; cmakeFlags = [ "-DOVNI_GIT_COMMIT=${src.shortRev}" ];