Merge pull request #236100 from wegank/libnest2d-boost
libnest2d: unpin boost174
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, clipper, nlopt, boost, python3 }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, clipper, nlopt, boost }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation {
|
||||
version = "4.12.0";
|
||||
pname = "libnest2d";
|
||||
|
||||
@@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1hzqi4z55x76rss3xk7hfqhy9hcaq2jaav5jqxa1aqmbvarr2gla";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace {,examples/}CMakeLists.txt \
|
||||
--replace "set(CMAKE_CXX_STANDARD 11)" "set(CMAKE_CXX_STANDARD 14)"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ clipper nlopt boost ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
|
||||
@@ -22417,9 +22417,7 @@ with pkgs;
|
||||
|
||||
libndctl = callPackage ../development/libraries/libndctl { };
|
||||
|
||||
libnest2d = callPackage ../development/libraries/libnest2d {
|
||||
boost = boost174;
|
||||
};
|
||||
libnest2d = callPackage ../development/libraries/libnest2d { };
|
||||
|
||||
libnet = callPackage ../development/libraries/libnet { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user