diff --git a/pkgs/by-name/op/openmpi/package.nix b/pkgs/by-name/op/openmpi/package.nix index 20fc9b74502f..67a0d62ef13b 100644 --- a/pkgs/by-name/op/openmpi/package.nix +++ b/pkgs/by-name/op/openmpi/package.nix @@ -199,6 +199,10 @@ stdenv.mkDerivation (finalAttrs: { '' find $out/lib/ -name "*.la" -exec rm -f \{} \; + # Fortran .mod files end up in bin output. + # Force all headers into the dev output . + moveToOutput "include/" "''${!outputDev}" + # The main wrapper that all the rest of the commonly used binaries are # symlinked to moveToOutput "bin/opal_wrapper" "''${!outputDev}"