openmpi: fix gfortran targetPackages Nix attribute
This commit is contained in:
@@ -168,7 +168,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
substituteInPlace ''${!outputDev}/share/openmpi/mpifort-wrapper-data.txt \
|
||||
--replace-fail \
|
||||
compiler=gfortran \
|
||||
compiler=${gfortran}/bin/${gfortran.targetPrefix}gfortran
|
||||
compiler=${targetPackages.gfortran}/bin/${targetPackages.gfortran.targetPrefix}gfortran
|
||||
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user