mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
krohnkite: use substituteInPlace instead of sed
This commit is contained in:
parent
e522e8e971
commit
5757e52738
2
pkgs/kde/third-party/krohnkite/default.nix
vendored
2
pkgs/kde/third-party/krohnkite/default.nix
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user