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
This commit is contained in:
parent
9f973593c8
commit
5afdaa28a6
2 changed files with 3 additions and 3 deletions
pkgs
|
@ -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 = {
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue