diff --git a/pkgs/development/python-modules/fenics/default.nix b/pkgs/development/python-modules/fenics/default.nix index edb726a0997e5..e9aa27bd9e21a 100644 --- a/pkgs/development/python-modules/fenics/default.nix +++ b/pkgs/development/python-modules/fenics/default.nix @@ -164,7 +164,17 @@ let url = "https://bitbucket.org/josef_kemetmueller/dolfin/commits/328e94acd426ebaf2243c072b806be3379fd4340/raw"; sha256 = "1zj7k3y7vsx0hz3gwwlxhq6gdqamqpcw90d4ishwx5ps5ckcsb9r"; }) + (fetchpatch { + url = "https://bitbucket.org/fenics-project/dolfin/issues/attachments/1116/fenics-project/dolfin/1602778118.04/1116/0001-Use-__BYTE_ORDER__-instead-of-removed-Boost-endian.h.patch"; + hash = "sha256-wPaDmPU+jaD3ce3nNEbvM5p8e3zBdLozamLTJ/0ai2c="; + }) ]; + # https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=dolfin&id=a965ad934f7b3d49a5e77fa6fb5e3c710ec2163e + postPatch = '' + sed -i '20 a #include ' dolfin/geometry/IntersectionConstruction.cpp + sed -i '26 a #include ' dolfin/mesh/MeshFunction.h + sed -i '25 a #include ' dolfin/mesh/MeshConnectivity.h + ''; propagatedBuildInputs = [ dijitso fiat diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3a1693f83d0e9..d24acd32caa96 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3530,7 +3530,6 @@ self: super: with self; { fenics = callPackage ../development/python-modules/fenics { hdf5 = pkgs.hdf5_1_10; - boost = pkgs.boost172; }; ffcv = callPackage ../development/python-modules/ffcv { };