precice: fix build

cmake gets confused with python 3.8's version number, switch back to 3.7
for now until upstream's resolved that
gstqt5
Robert Scott 2020-09-29 21:52:44 +01:00
parent 9f973593c8
commit 5afdaa28a6
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, gcc, boost, eigen, libxml2, openmpi, python3, python3Packages, petsc }:
{ lib, stdenv, fetchFromGitHub, cmake, gcc, boost, eigen, libxml2, openmpi, python3, petsc }:
stdenv.mkDerivation rec {
pname = "precice";
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [ cmake gcc ];
buildInputs = [ boost eigen libxml2 openmpi python3 python3Packages.numpy ];
buildInputs = [ boost eigen libxml2 openmpi python3 python3.pkgs.numpy ];
enableParallelBuilding = true;
meta = {

View File

@ -2351,7 +2351,7 @@ in
psstop = callPackage ../tools/system/psstop { };
precice = callPackage ../development/libraries/precice { };
precice = callPackage ../development/libraries/precice { python3 = python37; };
pueue = callPackage ../applications/misc/pueue { };