From 5757e527383df13d5a09e1907aa416ca9459b469 Mon Sep 17 00:00:00 2001 From: ben9986 <38633150+Ben9986@users.noreply.github.com> Date: Wed, 11 Sep 2024 10:10:56 +0100 Subject: [PATCH] krohnkite: use substituteInPlace instead of sed --- pkgs/kde/third-party/krohnkite/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/kde/third-party/krohnkite/default.nix b/pkgs/kde/third-party/krohnkite/default.nix index bbc5ea39ee94..03b3e64adcfe 100644 --- a/pkgs/kde/third-party/krohnkite/default.nix +++ b/pkgs/kde/third-party/krohnkite/default.nix @@ -32,7 +32,6 @@ buildNpmPackage rec { postPatch = '' cp ${./package-lock.json} package-lock.json - sed -i 's/7z a -tzip/zip -r/g' Makefile ''; npmBuildScript = "tsc"; @@ -40,6 +39,7 @@ buildNpmPackage rec { installPhase = '' runHook preInstall + substituteInPlace Makefile --replace-fail '7z a -tzip' 'zip -r' make krohnkite-${version}.kwinscript kpackagetool6 --type=KWin/Script --install=krohnkite-${version}.kwinscript --packageroot=$out/share/kwin/scripts