diff --git a/pkgs/by-name/op/openems/boost-1.89.patch b/pkgs/by-name/op/openems/boost-1.89.patch new file mode 100644 index 000000000000..b9d5ffeaf231 --- /dev/null +++ b/pkgs/by-name/op/openems/boost-1.89.patch @@ -0,0 +1,12 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index caeac56..64c1e18 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -123,7 +123,6 @@ link_directories(${HDF5_LIBRARIES}) + # boost + find_package(Boost 1.46 COMPONENTS + thread +- system + date_time + serialization + chrono diff --git a/pkgs/by-name/op/openems/package.nix b/pkgs/by-name/op/openems/package.nix index d336bf62f538..76cbebac14b4 100644 --- a/pkgs/by-name/op/openems/package.nix +++ b/pkgs/by-name/op/openems/package.nix @@ -44,6 +44,8 @@ stdenv.mkDerivation (finalAttrs: { url = "https://github.com/thliebig/openEMS/commit/e02e2a8414355482145240e4c2b2464d7a26dd9e.patch"; hash = "sha256-y3pvim/8XUKF5k7shj0D+8P6tdfSZ3E/gxTogbRtxdo="; }) + # boost 1.89 removed the boost_system stub library + ./boost-1.89.patch ]; nativeBuildInputs = [