keyd: update deprecated --replace

This commit is contained in:
alfarel 2024-09-27 10:19:09 -04:00
parent 3426e32d77
commit 06ad66b367

View File

@ -26,7 +26,7 @@ let
postPatch = ''
substituteInPlace scripts/${pname} \
--replace /bin/sh ${runtimeShell}
--replace-fail /bin/sh ${runtimeShell}
'';
propagatedBuildInputs = with pypkgs; [ xlib ];
@ -47,10 +47,10 @@ stdenv.mkDerivation {
postPatch = ''
substituteInPlace Makefile \
--replace /usr ""
--replace-fail /usr ""
substituteInPlace keyd.service \
--replace /usr/bin $out/bin
--replace-fail /usr/bin $out/bin
'';
installFlags = [ "DESTDIR=${placeholder "out"}" ];