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;