hdf5-fortran: move F90 mod files to dev output; remove refs to gfortran

This commit is contained in:
Markus Kowalewski
2024-06-03 10:28:27 +02:00
parent 5ceeafa47d
commit c4e0154f80
+6
View File
@@ -103,6 +103,12 @@ stdenv.mkDerivation rec {
mv "$file" "''${file%%-shared}"
done
popd
'' + lib.optionalString fortranSupport
''
mv $out/mod/shared $dev/include
rm -r $out/mod
find "$out" -type f -exec remove-references-to -t ${fortran} '{}' +
'';
enableParallelBuilding = true;