mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
hdf5-fortran: move F90 mod files to dev output; remove refs to gfortran
This commit is contained in:
parent
5ceeafa47d
commit
c4e0154f80
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user