From e1b8acf7ca9c56164dfe6f22dbdc2f81c801c50f Mon Sep 17 00:00:00 2001 From: Stefano De Vuono Date: Sun, 30 Mar 2025 15:42:16 -0700 Subject: [PATCH] change replace to replace-fail --- .../editors/jupyter-kernels/xeus-cling/xeus-cling.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 9202704a3555..af0c5cce88f3 100644 --- a/pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix +++ b/pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix @@ -88,11 +88,11 @@ clangStdenv.mkDerivation rec { postPatch = '' substituteInPlace src/xmagics/executable.cpp \ - --replace "getDataLayout" "getDataLayoutString" + --replace-fail "getDataLayout" "getDataLayoutString" substituteInPlace src/xmagics/execution.cpp \ - --replace "simplisticCastAs" "castAs" + --replace-fail "simplisticCastAs" "castAs" substituteInPlace src/xmime_internal.hpp \ - --replace "code.str()" "code.str().str()" + --replace-fail "code.str()" "code.str().str()" ''; dontStrip = debug;