dublin-traceroute: fix build against jsoncpp 1.9.7 (#517584)
This commit is contained in:
@@ -23,10 +23,10 @@ stdenv.mkDerivation {
|
||||
hash = "sha256-UJeFPVi3423Jh72fVk8QbLX1tTNAQ504xYs9HwVCkZc=";
|
||||
};
|
||||
|
||||
# gtest requires C++17, while dublin-traceroute requires C++11
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "ENABLE_TESTING()" ""
|
||||
--replace-fail "ENABLE_TESTING()" "" \
|
||||
--replace-fail "-std=c++11" "-std=c++17"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user