From df8dfca854b41c3addcdb0f0f481c203d9728e3c Mon Sep 17 00:00:00 2001 From: K900 Date: Mon, 22 Jan 2024 11:20:40 +0300 Subject: [PATCH] kdsoap: fix after update --- pkgs/development/libraries/kdsoap/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/kdsoap/default.nix b/pkgs/development/libraries/kdsoap/default.nix index acb3318b9cdf..5dc6b5f962e1 100644 --- a/pkgs/development/libraries/kdsoap/default.nix +++ b/pkgs/development/libraries/kdsoap/default.nix @@ -28,10 +28,8 @@ in stdenv.mkDerivation rec { postInstall = '' moveToOutput bin/kdwsdl2cpp* "$dev" - sed -i "$out/lib/cmake/${cmakeName}/KDSoapTargets.cmake" \ - -e "/^ INTERFACE_INCLUDE_DIRECTORIES/ c INTERFACE_INCLUDE_DIRECTORIES \"$dev/include\"" - sed -i "$out/lib/cmake/${cmakeName}/KDSoapTargets-release.cmake" \ - -e "s@$out/bin@$dev/bin@" + substituteInPlace "$out/lib/cmake/${cmakeName}/KDSoapTargets-release.cmake" \ + --replace $out/bin $dev/bin ''; meta = with lib; {