From 86ef2eb3c694cc30dc3a27c8bade21364bf98a2c Mon Sep 17 00:00:00 2001 From: 7c6f434c <7c6f434c@mail.ru> Date: Fri, 2 Jan 2026 04:02:00 +0100 Subject: [PATCH] monotone: fix build of temporarily-vendored botan2 with fresher C++ --- pkgs/applications/version-management/monotone/botan2.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/version-management/monotone/botan2.nix b/pkgs/applications/version-management/monotone/botan2.nix index 0c89c5f7bf1f..e97561f0a058 100644 --- a/pkgs/applications/version-management/monotone/botan2.nix +++ b/pkgs/applications/version-management/monotone/botan2.nix @@ -33,6 +33,10 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-3+6g4KbybWckxK8B2pp7iEh62y2Bunxy/K9S21IsmtQ="; }; + postPatch = '' + sed -e '1i#include ' -i src/cli/cli.h + ''; + nativeBuildInputs = [ python3 docutils