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
@ -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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "precice";
|
pname = "precice";
|
||||||
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake gcc ];
|
nativeBuildInputs = [ cmake gcc ];
|
||||||
buildInputs = [ boost eigen libxml2 openmpi python3 python3Packages.numpy ];
|
buildInputs = [ boost eigen libxml2 openmpi python3 python3.pkgs.numpy ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -2351,7 +2351,7 @@ in
|
|||||||
|
|
||||||
psstop = callPackage ../tools/system/psstop { };
|
psstop = callPackage ../tools/system/psstop { };
|
||||||
|
|
||||||
precice = callPackage ../development/libraries/precice { };
|
precice = callPackage ../development/libraries/precice { python3 = python37; };
|
||||||
|
|
||||||
pueue = callPackage ../applications/misc/pueue { };
|
pueue = callPackage ../applications/misc/pueue { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user