wdt: 1.27.1612021-unstable-2026-01-28 -> 1.27.1612021-unstable-2026-02-26; fix build with newer boost (#516761)

This commit is contained in:
yaya
2026-05-05 11:52:03 +00:00
committed by GitHub
+6 -4
View File
@@ -13,13 +13,13 @@
stdenv.mkDerivation {
pname = "wdt";
version = "1.27.1612021-unstable-2026-01-28";
version = "1.27.1612021-unstable-2026-02-26";
src = fetchFromGitHub {
owner = "facebook";
repo = "wdt";
rev = "8529231cd0906876f5ed5902d026bf313fa2ef98";
sha256 = "sha256-ylmzw5LRc7b8GfvO0HiK77fDp4k5gumDd8uvnZ/pvxs=";
rev = "8e72c3f16ef471919f93815e9518ae2c4e81cc15";
hash = "sha256-6xTxcJzvtCbVllU5d/fgF+LYZmkIbXq4+3XP01ooggE=";
};
nativeBuildInputs = [ cmake ];
@@ -53,7 +53,9 @@ stdenv.mkDerivation {
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.2)" "cmake_minimum_required(VERSION 3.10)"
--replace-fail "cmake_minimum_required(VERSION 3.2)" "cmake_minimum_required(VERSION 3.10)" \
--replace-fail "find_package(Boost COMPONENTS system filesystem REQUIRED)" \
"find_package(Boost COMPONENTS filesystem REQUIRED)"
'';
meta = {