We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 248f25a + 1c699b8 commit 6591a62Copy full SHA for 6591a62
pkgs/by-name/sh/shark/package.nix
@@ -23,6 +23,11 @@ stdenv.mkDerivation (finalAttrs: {
23
# c.f https://github.com/Shark-ML/Shark/commit/221c1f2e8abfffadbf3c5ef7cf324bc6dc9b4315
24
patches = [ ./shark-2-ext-num-literals-all.diff ];
25
26
+ # Remove explicitly setting C++11, because boost::math headers need C++14 since Boost187.
27
+ postPatch = ''
28
+ sed -i '/CXX_STANDARD/d' src/CMakeLists.txt
29
+ '';
30
+
31
# https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/blob/develop/SuperBuild/CMake/External_shark.cmake?ref_type=heads
32
cmakeFlags = [
33
"-DBUILD_SHARED_LIBS=ON"
0 commit comments