mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
python3Packages: use getDev for mpi
This commit is contained in:
@@ -47,7 +47,7 @@ in buildPythonPackage rec {
|
||||
${lib.optionalString mpiSupport "export OMPI_MCA_rmaps_base_oversubscribe=yes"}
|
||||
'';
|
||||
|
||||
preBuild = lib.optionalString mpiSupport "export CC=${mpi}/bin/mpicc";
|
||||
preBuild = lib.optionalString mpiSupport "export CC=${lib.getDev mpi}/bin/mpicc";
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
|
||||
Reference in New Issue
Block a user