From 991737f6e9845340ce6bdaccaa485fd36b5da656 Mon Sep 17 00:00:00 2001 From: Rafael Ieda Date: Mon, 20 Oct 2025 06:38:47 -0300 Subject: [PATCH] xeus-cling: fix build with cmake4 --- .../editors/jupyter-kernels/xeus-cling/xeus-cling.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix b/pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix index 843f4a07b71d..6c3d0acd67d4 100644 --- a/pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix +++ b/pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix @@ -94,6 +94,9 @@ clangStdenv.mkDerivation rec { --replace-fail "simplisticCastAs" "castAs" substituteInPlace src/xmime_internal.hpp \ --replace-fail "code.str()" "code.str().str()" + + substituteInPlace CMakeLists.txt \ + --replace-fail "cmake_minimum_required(VERSION 3.4.3)" "cmake_minimum_required(VERSION 3.10)" ''; dontStrip = debug;