From 7ffd6194a8f8f33928793e0779fb7c1b9c6fbbc7 Mon Sep 17 00:00:00 2001 From: Roland Coeurjoly Date: Sun, 25 Aug 2024 17:56:03 +0200 Subject: [PATCH] baresip: substitute --replace with --replace-fail --- pkgs/by-name/ba/baresip/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ba/baresip/package.nix b/pkgs/by-name/ba/baresip/package.nix index c93590ea1678..ea92f9c39fa0 100644 --- a/pkgs/by-name/ba/baresip/package.nix +++ b/pkgs/by-name/ba/baresip/package.nix @@ -39,9 +39,9 @@ stdenv.mkDerivation rec { hash = "sha256-0huZP1hopHaN5R1Hki6YutpvoASfIHzHMl/Y4czHHMo="; }; prePatch = '' - substituteInPlace cmake/FindGTK3.cmake --replace GTK3_CFLAGS_OTHER "" + substituteInPlace cmake/FindGTK3.cmake --replace-fail GTK3_CFLAGS_OTHER "" '' + lib.optionalString (!dbusSupport) '' - substituteInPlace cmake/modules.cmake --replace 'list(APPEND MODULES ctrl_dbus)' "" + substituteInPlace cmake/modules.cmake --replace-fail 'list(APPEND MODULES ctrl_dbus)' "" ''; nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [